Representing XML Content

This section describes how JAXB represents XML content as Java objects.

Java Representation of XML Schema

JAXB supports the grouping of generated classes in Java packages. A package consists of the following:

  • A Java class name that is derived from the XML element name, or specified by a binding customization.

  • An ObjectFactory class, which is a factory that is used to return instances of a bound Java class.

The JavaT EE 5 Tutorial
The JavaT EE 5 Tutorial
Year: 2004
Pages: 309 © 2008-2017.
If you may any questions please contact us: