public class SoapEncSchemaTypeSystem extends SchemaTypeLoaderBase implements SchemaTypeSystem
Modifier and Type | Field and Description |
---|---|
static String |
ARRAY_TYPE |
static String |
SOAP_ARRAY |
static String |
SOAPENC |
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.
|
SchemaGlobalAttribute |
findAttribute(QName qName)
Returns the global attribute defintion with the given name, or null if none.
|
SchemaAttributeGroup |
findAttributeGroup(QName qName)
Returns the attribute group defintion with the given name, or null if none.
|
SchemaAttributeGroup.Ref |
findAttributeGroupRef(QName qName)
Used for on-demand loading.
|
SchemaGlobalAttribute.Ref |
findAttributeRef(QName qName)
Used for on-demand loading.
|
SchemaType |
findAttributeType(QName qName)
Returns the attribute type containing the given attribute name, or null if none.
|
SchemaType.Ref |
findAttributeTypeRef(QName qName)
Used for on-demand loading.
|
SchemaType |
findDocumentType(QName qName)
Returns the document type rooted at the given element name, or null if none.
|
SchemaType.Ref |
findDocumentTypeRef(QName qName)
Used for on-demand loading.
|
SchemaGlobalElement |
findElement(QName qName)
Returns the global element defintion with the given name, or null if none.
|
SchemaGlobalElement.Ref |
findElementRef(QName qName)
Used for on-demand loading.
|
SchemaIdentityConstraint.Ref |
findIdentityConstraintRef(QName qName)
Used for on-demand loading.
|
SchemaModelGroup |
findModelGroup(QName qName)
Returns the model group defintion with the given name, or null if none.
|
SchemaModelGroup.Ref |
findModelGroupRef(QName qName)
Used for on-demand loading.
|
SchemaType |
findType(QName qName)
Returns the type with the given name, or null if none.
|
SchemaType.Ref |
findTypeRef(QName qName)
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.
|
InputStream |
getSourceAsStream(String string)
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 string)
True if the typeloader contains any definitions in the given namespace.
|
SchemaModelGroup[] |
modelGroups()
Returns the model groups defined in this loader.
|
void |
resolve()
Describe
resolve method here. |
SchemaComponent |
resolveHandle(String string)
Locates a type, element, or attribute using the handle.
|
void |
save(Filer filer)
Saves this type system using a Filer
|
void |
saveToDirectory(File file)
Describe
saveToDirectory method here. |
SchemaType |
typeForClassname(String string)
Finds a type for a given fully-qualified XML Bean classname
|
SchemaType |
typeForHandle(String string)
Locates a type, element, or attribute using the handle.
|
compilePath, compilePath, compileQuery, compileQuery, newDomImplementation, newInstance, newXmlSaxHandler, parse, parse, parse, parse, parse, parse, parse, typeForSignature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compilePath, compileQuery, newDomImplementation, newInstance, newXmlSaxHandler, parse, parse, parse, parse, parse, parse, parse, typeForSignature
public static final String SOAPENC
public static final String SOAP_ARRAY
public static final String ARRAY_TYPE
public static SchemaTypeSystem get()
public String getName()
getName
in interface SchemaTypeSystem
public SchemaType findType(QName qName)
SchemaTypeLoader
findType
in interface SchemaTypeLoader
findType
in class SchemaTypeLoaderBase
public SchemaType findDocumentType(QName qName)
SchemaTypeLoader
findDocumentType
in interface SchemaTypeLoader
findDocumentType
in class SchemaTypeLoaderBase
public SchemaType findAttributeType(QName qName)
SchemaTypeLoader
findAttributeType
in interface SchemaTypeLoader
findAttributeType
in class SchemaTypeLoaderBase
public SchemaGlobalElement findElement(QName qName)
SchemaTypeLoader
findElement
in interface SchemaTypeLoader
findElement
in class SchemaTypeLoaderBase
public SchemaGlobalAttribute findAttribute(QName qName)
SchemaTypeLoader
findAttribute
in interface SchemaTypeLoader
findAttribute
in class SchemaTypeLoaderBase
public SchemaModelGroup findModelGroup(QName qName)
SchemaTypeLoader
findModelGroup
in interface SchemaTypeLoader
findModelGroup
in class SchemaTypeLoaderBase
public SchemaAttributeGroup findAttributeGroup(QName qName)
SchemaTypeLoader
findAttributeGroup
in interface SchemaTypeLoader
findAttributeGroup
in class SchemaTypeLoaderBase
public boolean isNamespaceDefined(String string)
SchemaTypeLoader
isNamespaceDefined
in interface SchemaTypeLoader
public SchemaType.Ref findTypeRef(QName qName)
SchemaTypeLoader
findTypeRef
in interface SchemaTypeLoader
public SchemaType.Ref findDocumentTypeRef(QName qName)
SchemaTypeLoader
findDocumentTypeRef
in interface SchemaTypeLoader
public SchemaType.Ref findAttributeTypeRef(QName qName)
SchemaTypeLoader
findAttributeTypeRef
in interface SchemaTypeLoader
public SchemaGlobalElement.Ref findElementRef(QName qName)
SchemaTypeLoader
findElementRef
in interface SchemaTypeLoader
public SchemaGlobalAttribute.Ref findAttributeRef(QName qName)
SchemaTypeLoader
findAttributeRef
in interface SchemaTypeLoader
public SchemaModelGroup.Ref findModelGroupRef(QName qName)
SchemaTypeLoader
findModelGroupRef
in interface SchemaTypeLoader
public SchemaAttributeGroup.Ref findAttributeGroupRef(QName qName)
SchemaTypeLoader
findAttributeGroupRef
in interface SchemaTypeLoader
public SchemaIdentityConstraint.Ref findIdentityConstraintRef(QName qName)
SchemaTypeLoader
findIdentityConstraintRef
in interface SchemaTypeLoader
public SchemaType typeForClassname(String string)
SchemaTypeLoader
typeForClassname
in interface SchemaTypeLoader
public InputStream getSourceAsStream(String string)
SchemaTypeLoader
SchemaComponent.getSourceName()
.getSourceAsStream
in interface SchemaTypeLoader
public ClassLoader getClassLoader()
getClassLoader
in interface SchemaTypeSystem
public void resolve()
resolve
method here.resolve
in interface SchemaTypeSystem
public SchemaType[] globalTypes()
SchemaTypeSystem
globalTypes
in interface SchemaTypeSystem
public SchemaType[] documentTypes()
SchemaTypeSystem
documentTypes
in interface SchemaTypeSystem
public SchemaType[] attributeTypes()
SchemaTypeSystem
attributeTypes
in interface SchemaTypeSystem
public SchemaGlobalElement[] globalElements()
SchemaTypeSystem
globalElements
in interface SchemaTypeSystem
public SchemaGlobalAttribute[] globalAttributes()
SchemaTypeSystem
globalAttributes
in interface SchemaTypeSystem
public SchemaModelGroup[] modelGroups()
SchemaTypeSystem
modelGroups
in interface SchemaTypeSystem
public SchemaAttributeGroup[] attributeGroups()
SchemaTypeSystem
attributeGroups
in interface SchemaTypeSystem
public SchemaAnnotation[] annotations()
SchemaTypeSystem
annotations
in interface SchemaTypeSystem
public String handleForType(SchemaType type)
public SchemaComponent resolveHandle(String string)
SchemaTypeSystem
resolveHandle
in interface SchemaTypeSystem
public SchemaType typeForHandle(String string)
SchemaTypeSystem
typeForHandle
in interface SchemaTypeSystem
public void saveToDirectory(File file)
saveToDirectory
method here.saveToDirectory
in interface SchemaTypeSystem
file
- a File
valuepublic void save(Filer filer)
SchemaTypeSystem
save
in interface SchemaTypeSystem