![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ![]() | ![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ![]()
|
Castor XML Schema Support Introduction Supported XML Schema Built-in Datatypes Primitive Datatypes Derived Datatypes Supported XML Schema Structures Groups Introduction The Source Code Generator is supporting the W3C XML Schema Candidate Recommendation document (10/24/2000). Roughly speaking the Castor maps an XML Schema type to a corresponding Java type. But it happens that a Schema type does not have the corresponding one in Java. Thus the Source Generator uses Castor implementation of these specific types (located in the Remember that the representation of XML Schema datatypes does not try to fit exactly the W3C XML Schema specifications, the aim is to map an XML Schema type to the java type that fit the most to the XML Schema type. For a detailled support of XML Schema structure, please refer to Source Generator User Document(PDF). Supported XML Schema Built-in DatatypesThe following is a list of the supported datatypes with the corresponding facets and the java mapping type. Primitive Datatypes
Derived Datatypes
Supported XML Schema StructuresFor a detailled support of XML Schema structure, please refer to Source Generator User Document(PDF). The supported structures for XML Schema is currently limited to: Structural elements: GroupsThe source code generator currently supports single level choice and all. The sequence group is treated as an all. Nested groups (groups which appear beneath other groups) are currently flattened and the children of the group are treated as if they were children of the containing structure. A work around for nested groups is to simply create a new complex type which represents the group. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |