public class BuiltinSchemaTypeSystem extends SchemaTypeLoaderBase implements SchemaTypeSystem
| Modifier and Type | Method and Description |
|---|---|
SchemaAnnotation[] |
annotations()
Returns the top-level annotations
|
SchemaAttributeGroup[] |
attributeGroups()
Returns the attribute groups defined in this loader.
|
SchemaType[] |
attributeTypes()
Returns the attribute types defined in this loader.
|
SchemaType[] |
documentTypes()
Returns the document types defined in this loader.
|
void |
fillInType(int btc)
Links a type.
|
SchemaGlobalAttribute |
findAttribute(QName name)
Returns the global attribute defintion with the given name, or null if none.
|
SchemaAttributeGroup.Ref |
findAttributeGroupRef(QName name)
Used for on-demand loading.
|
SchemaGlobalAttribute.Ref |
findAttributeRef(QName name)
Used for on-demand loading.
|
SchemaType |
findAttributeType(QName name)
Returns the attribute type containing the given attribute name, or null if none.
|
SchemaType.Ref |
findAttributeTypeRef(QName name)
Used for on-demand loading.
|
SchemaType |
findDocumentType(QName name)
Returns the document type rooted at the given element name, or null if none.
|
SchemaType.Ref |
findDocumentTypeRef(QName name)
Used for on-demand loading.
|
SchemaGlobalElement |
findElement(QName name)
Returns the global element defintion with the given name, or null if none.
|
SchemaGlobalElement.Ref |
findElementRef(QName name)
Used for on-demand loading.
|
SchemaIdentityConstraint.Ref |
findIdentityConstraintRef(QName name)
Used for on-demand loading.
|
SchemaModelGroup.Ref |
findModelGroupRef(QName name)
Used for on-demand loading.
|
SchemaType |
findType(QName name)
Returns the type with the given name, or null if none.
|
SchemaType.Ref |
findTypeRef(QName name)
Used for on-demand loading.
|
static SchemaTypeSystem |
get() |
ClassLoader |
getClassLoader()
Returns the classloader used by this loader for resolving types.
|
String |
getName()
Returns the name of this loader.
|
static SchemaType |
getNoType() |
InputStream |
getSourceAsStream(String sourceName)
Loads original XSD source as a stream.
|
SchemaGlobalAttribute[] |
globalAttributes()
Returns the global attributes defined in this loader.
|
SchemaGlobalElement[] |
globalElements()
Returns the global elements defined in this loader.
|
SchemaType[] |
globalTypes()
Returns the global types defined in this loader.
|
String |
handleForType(SchemaType type)
Returns the handle for the given type within this loader.
|
boolean |
isNamespaceDefined(String namespace)
True if the typeloader contains any definitions in the given namespace.
|
SchemaModelGroup[] |
modelGroups()
Returns the model groups defined in this loader.
|
void |
resolve()
Initializes a type system (resolves all handles within the type system).
|
SchemaComponent |
resolveHandle(String handle)
Locates a type, element, or attribute using the handle.
|
void |
save(Filer filer)
Saves this type system using a Filer
|
void |
saveToDirectory(File classDir)
Saves this type to a directory.
|
SchemaType |
typeForClassname(String classname)
Finds a type for a given fully-qualified XML Bean classname
|
SchemaType |
typeForHandle(String handle)
Locates a type, element, or attribute using the handle.
|
compilePath, compilePath, compileQuery, compileQuery, findAttributeGroup, findModelGroup, newDomImplementation, newInstance, newXmlSaxHandler, parse, parse, parse, parse, parse, parse, parse, typeForSignatureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompilePath, compileQuery, findAttributeGroup, findModelGroup, newDomImplementation, newInstance, newXmlSaxHandler, parse, parse, parse, parse, parse, parse, parse, typeForSignaturepublic static final SchemaTypeImpl ST_ANY_TYPE
public static final SchemaTypeImpl ST_ANY_SIMPLE
public static final SchemaTypeImpl ST_BOOLEAN
public static final SchemaTypeImpl ST_BASE_64_BINARY
public static final SchemaTypeImpl ST_HEX_BINARY
public static final SchemaTypeImpl ST_ANY_URI
public static final SchemaTypeImpl ST_QNAME
public static final SchemaTypeImpl ST_NOTATION
public static final SchemaTypeImpl ST_FLOAT
public static final SchemaTypeImpl ST_DOUBLE
public static final SchemaTypeImpl ST_DECIMAL
public static final SchemaTypeImpl ST_STRING
public static final SchemaTypeImpl ST_DURATION
public static final SchemaTypeImpl ST_DATE_TIME
public static final SchemaTypeImpl ST_TIME
public static final SchemaTypeImpl ST_DATE
public static final SchemaTypeImpl ST_G_YEAR_MONTH
public static final SchemaTypeImpl ST_G_YEAR
public static final SchemaTypeImpl ST_G_MONTH_DAY
public static final SchemaTypeImpl ST_G_DAY
public static final SchemaTypeImpl ST_G_MONTH
public static final SchemaTypeImpl ST_INTEGER
public static final SchemaTypeImpl ST_LONG
public static final SchemaTypeImpl ST_INT
public static final SchemaTypeImpl ST_SHORT
public static final SchemaTypeImpl ST_BYTE
public static final SchemaTypeImpl ST_NON_POSITIVE_INTEGER
public static final SchemaTypeImpl ST_NEGATIVE_INTEGER
public static final SchemaTypeImpl ST_NON_NEGATIVE_INTEGER
public static final SchemaTypeImpl ST_POSITIVE_INTEGER
public static final SchemaTypeImpl ST_UNSIGNED_LONG
public static final SchemaTypeImpl ST_UNSIGNED_INT
public static final SchemaTypeImpl ST_UNSIGNED_SHORT
public static final SchemaTypeImpl ST_UNSIGNED_BYTE
public static final SchemaTypeImpl ST_NORMALIZED_STRING
public static final SchemaTypeImpl ST_TOKEN
public static final SchemaTypeImpl ST_NAME
public static final SchemaTypeImpl ST_NCNAME
public static final SchemaTypeImpl ST_LANGUAGE
public static final SchemaTypeImpl ST_ID
public static final SchemaTypeImpl ST_IDREF
public static final SchemaTypeImpl ST_IDREFS
public static final SchemaTypeImpl ST_ENTITY
public static final SchemaTypeImpl ST_ENTITIES
public static final SchemaTypeImpl ST_NMTOKEN
public static final SchemaTypeImpl ST_NMTOKENS
public static final SchemaTypeImpl ST_NO_TYPE
public static SchemaTypeSystem get()
public String getName()
getName in interface SchemaTypeSystempublic boolean isNamespaceDefined(String namespace)
SchemaTypeLoaderisNamespaceDefined in interface SchemaTypeLoaderpublic SchemaType findType(QName name)
SchemaTypeLoaderfindType in interface SchemaTypeLoaderfindType in class SchemaTypeLoaderBasepublic SchemaType findDocumentType(QName name)
SchemaTypeLoaderfindDocumentType in interface SchemaTypeLoaderfindDocumentType in class SchemaTypeLoaderBasepublic SchemaType findAttributeType(QName name)
SchemaTypeLoaderfindAttributeType in interface SchemaTypeLoaderfindAttributeType in class SchemaTypeLoaderBasepublic SchemaGlobalElement findElement(QName name)
SchemaTypeLoaderfindElement in interface SchemaTypeLoaderfindElement in class SchemaTypeLoaderBasepublic SchemaGlobalAttribute findAttribute(QName name)
SchemaTypeLoaderfindAttribute in interface SchemaTypeLoaderfindAttribute in class SchemaTypeLoaderBasepublic SchemaType.Ref findTypeRef(QName name)
SchemaTypeLoaderfindTypeRef in interface SchemaTypeLoaderpublic SchemaType.Ref findDocumentTypeRef(QName name)
SchemaTypeLoaderfindDocumentTypeRef in interface SchemaTypeLoaderpublic SchemaType.Ref findAttributeTypeRef(QName name)
SchemaTypeLoaderfindAttributeTypeRef in interface SchemaTypeLoaderpublic SchemaGlobalElement.Ref findElementRef(QName name)
SchemaTypeLoaderfindElementRef in interface SchemaTypeLoaderpublic SchemaGlobalAttribute.Ref findAttributeRef(QName name)
SchemaTypeLoaderfindAttributeRef in interface SchemaTypeLoaderpublic SchemaModelGroup.Ref findModelGroupRef(QName name)
SchemaTypeLoaderfindModelGroupRef in interface SchemaTypeLoaderpublic SchemaAttributeGroup.Ref findAttributeGroupRef(QName name)
SchemaTypeLoaderfindAttributeGroupRef in interface SchemaTypeLoaderpublic SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName name)
SchemaTypeLoaderfindIdentityConstraintRef in interface SchemaTypeLoaderpublic SchemaType typeForClassname(String classname)
SchemaTypeLoadertypeForClassname in interface SchemaTypeLoaderpublic InputStream getSourceAsStream(String sourceName)
SchemaTypeLoaderSchemaComponent.getSourceName().getSourceAsStream in interface SchemaTypeLoaderpublic SchemaType[] globalTypes()
globalTypes in interface SchemaTypeSystempublic SchemaType[] documentTypes()
documentTypes in interface SchemaTypeSystempublic SchemaType[] attributeTypes()
attributeTypes in interface SchemaTypeSystempublic SchemaGlobalElement[] globalElements()
globalElements in interface SchemaTypeSystempublic SchemaGlobalAttribute[] globalAttributes()
globalAttributes in interface SchemaTypeSystempublic SchemaModelGroup[] modelGroups()
modelGroups in interface SchemaTypeSystempublic SchemaAttributeGroup[] attributeGroups()
attributeGroups in interface SchemaTypeSystempublic SchemaAnnotation[] annotations()
SchemaTypeSystemannotations in interface SchemaTypeSystempublic String handleForType(SchemaType type)
public ClassLoader getClassLoader()
getClassLoader in interface SchemaTypeSystempublic void saveToDirectory(File classDir)
saveToDirectory in interface SchemaTypeSystempublic void save(Filer filer)
save in interface SchemaTypeSystempublic void resolve()
SchemaTypeSystemresolve in interface SchemaTypeSystempublic SchemaType typeForHandle(String handle)
SchemaTypeSystemtypeForHandle in interface SchemaTypeSystempublic SchemaComponent resolveHandle(String handle)
SchemaTypeSystemresolveHandle in interface SchemaTypeSystempublic void fillInType(int btc)
public static SchemaType getNoType()