There is a hierarchy of interfaces that extend SchemaType, representing the top levels of the schema type system: SimpleType and ComplexType, with SimpleType further subdivided into List, Union, and Atomic types.
The implementations of these interfaces are organized into a different hierarchy: on the one side, built-in types such as AnyType, AnySimpleType, and the built-in atomic types and list types; on the other side, user-defined types defined in a schema.
There is a hierarchy of interfaces that extend SchemaType, representing the top levels of the schema type system: SimpleType and ComplexType, with SimpleType further subdivided into List, Union, and Atomic types.
The implementations of these interfaces are organized into a different hierarchy: on the one side, built-in types such as AnyType, AnySimpleType, and the built-in atomic types and list types; on the other side, user-defined types defined in a schema.
SchemaType is the metadata "type" class for {@link XmlObject}, and it plays the analogous role for {@link XmlObject} that {@link java.lang.Class} plays for{@link java.lang.Object}.
Every XML Bean class corresponds to a singleton SchemaType object obtainable by ClassName.type (e.g., {@link XmlNonPositiveInteger#type}), and every XML Bean instance has an actual SchemaType, obtainable by {@link XmlObject#schemaType}. The ClassName.type and schemaType() mechanisms are analogous to the ordinary Java ClassName.class and obj.getClass() mechanisms.
All schema types are represented by a SchemaType, this includes all types regardless of whether they are built-in or user-defined, compiled or uncompiled, simple or complex.
In addition, a compiled XML Bean type system includes special "document" schema types each representing a document containing nothing but a single element for each global element, and special "attribute" schema types each representing a fragment containing nothing but a single global attribute for global attribute.
Do not confuse Schema Types with other types of Schema Components such as {@link SchemaGlobalElement Global Elements}, {@link SchemaGlobalAttribute Global Attributes}, {@link SchemaModelGroup Named Model Groups}, or {@link SchemaAttributeGroup Attribute Groups}. SchemaType represents a Type component, not any of the other kinds of components. There are different kinds of metadata objects for the different Schema components.
The space of SchemaTypes is divided as follows:
true
for {@link #isURType}, and only XmlBeans.NO_TYPE returns true
for {@link #isNoType}. There is a hierarchy of interfaces that extend SchemaType, representing the top levels of the schema type system: SimpleType and ComplexType, with SimpleType further subdivided into List, Union, and Atomic types.
The implementations of these interfaces are organized into a different hierarchy: on the one side, built-in types such as AnyType, AnySimpleType, and the built-in atomic types and list types; on the other side, user-defined types defined in a schema.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|