Schema types
You use schemas to define types and refine your definition by deriving previously defined types.
- Built-in simple types
Schema built-in types map to XOM dynamic class types. - Simple type mapping
Simple types map schemas to dynamic models. - Simple types derived from other simple types
You can derive simple types from other simple types and incorporate restrictions to the more general simple type using facets. - List types and union types
You can use list and union types in a schema and XML document. - Local simple types mapped to inner classes
Embedded local simple types map to inner classes. - Complex types
You can use mixed content in a schema and an XML document. - Extension of simple type content in complex types
You can extend simple type content in a schema and an XML document. - Complex type restriction
The XOM takes complex type restrictions into account in the XOM. - Complex type extension
The XOM takes complex type extensions into account. - Local complex types mapped to inner classes
Local complex types map to inner classes. - Default constructor dynamic methods
To map default constructors, a method is generated for each dynamic class. - Type identifier mapping
Simple type names map to XOM class names according to a number of rules.
Parent topic: Mapping between XML schema and dynamic classes