• Home
  • Popular Downloads
  • Contact Us
  • Submit

Softpile

Free Downloads

Main Navigation
  • Home
  • Windows
  • Mac OS X
  • Business
  • Desktop
  • Development
  • Education
  • Games
  • Internet
  • Multimedia
  • Utilities
Home » Linux » XMLBeans

XMLBeans

June 18, 2009
XMLBeans project is a technology for accessing XML by binding it to Java types.
Version: 2.4.0
License: The Apache License 2.0
Operating System: Linux
Homepage: httpd.apache.org
Developed by: The Apache Software Foundation
XMLBeans project is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including:

· Through XML schema that has been compiled to generate Java types that represent schema types. In this way, you can access instances of the schema through JavaBeans-style accessors after the fashion of "getFoo" and "setFoo".
· The XMLBeans API also allows you to reflect into the XML schema itself through an XML Schema Object model.
· A cursor model through which you can traverse the full XML infoset.
· Support for XML DOM.

Start off with your own stuff:

If you want to get right to it with your own XML schema and instance, follow these basic steps:

Install XMLBeans.

Compile your schema. Use scomp to compile the schema, generating and jarring Java types. For example, to create a employeeschema.jar from an employeesschema.xsd file:

scomp -out employeeschema.jar employeeschema.xsd

Write code. With the generated JAR on your classpath, write code to bind an XML instance to the Java types representing your schema. Here's an example that would use types generated from an employees schema:

File xmlFile = new File("c:employees.xml");

// Bind the instance to the generated XMLBeans types.
EmployeesDocument empDoc =
EmployeesDocument.Factory.parse(xmlFile);

// Get and print pieces of the XML instance.
Employees emps = empDoc.getEmployees();
Employee[] empArray = emps.getEmployeeArray();
for (int i = 0; i < empArray.length; i++)
{
System.out.println(empArray[i]);
}

What's New in This Release:

· Updated to the latest XMLSchema.xsd - January 25, 2006
· Updated XmlBeans to work with SaxonB-8.6.1 in place of SaxonB8.1
· XQuery external variable binding support
access access xml apache module java bindings xml xmlbeans
Free Download 100% Secure
0
  • Share on:

XMLBeans User Reviews

Sponsored

Categories

  • Linux

Related Downloads

scrubber
A whitelisting HTML scrubber
Monkey Boards
Monkey Boards is a small, fast, and efficient message board systems to enable ...
Profitable Adsense search portal
Adsense Plus is the ultimate AdSense search portal script. It allows you to get ...
Disposable Temporary E-mail
Disposable Temporary E-mail project provides the user with disposable e-mail ...
django-cnotes
A simple cookie-based user notification system
Copyright © 1999-2017 Softpile Free Downloads
  • Contact Us
  • Submit
  • Privacy Policy
  • Disclaimer
  • Terms of Use