public abstract class SchemaTypeLoaderBase extends Object implements SchemaTypeLoader
| Constructor and Description |
|---|
SchemaTypeLoaderBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
compilePath(String pathExpr) |
String |
compilePath(String pathExpr,
XmlOptions options)
Compiles an XPath
|
String |
compileQuery(String queryExpr) |
String |
compileQuery(String queryExpr,
XmlOptions options)
Compiles an XQuery
|
SchemaGlobalAttribute |
findAttribute(QName name)
Returns the global attribute defintion with the given name, or null if none.
|
SchemaAttributeGroup |
findAttributeGroup(QName name)
Returns the attribute group defintion with the given name, or null if none.
|
SchemaType |
findAttributeType(QName name)
Returns the attribute type containing the given attribute name, or null if none.
|
SchemaType |
findDocumentType(QName name)
Returns the document type rooted at the given element name, or null if none.
|
SchemaGlobalElement |
findElement(QName name)
Returns the global element defintion with the given name, or null if none.
|
SchemaModelGroup |
findModelGroup(QName name)
Returns the model group defintion with the given name, or null if none.
|
SchemaType |
findType(QName name)
Returns the type with the given name, or null if none.
|
DOMImplementation |
newDomImplementation(XmlOptions options)
Returns a DOMImplementation.
|
XmlObject |
newInstance(SchemaType type,
XmlOptions options)
Creates an instance of the given type.
|
XmlSaxHandler |
newXmlSaxHandler(SchemaType type,
XmlOptions options)
Returns an XmlSaxHandler that can parse an instance of the given type.
|
XmlObject |
parse(File file,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(InputStream jiois,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(Node node,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(Reader jior,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(String xmlText,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(URL url,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
XmlObject |
parse(XMLStreamReader xsr,
SchemaType type,
XmlOptions options)
Parses an instance of the given type.
|
SchemaType |
typeForSignature(String signature)
Utility function to load a type from a signature.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAttributeGroupRef, findAttributeRef, findAttributeTypeRef, findDocumentTypeRef, findElementRef, findIdentityConstraintRef, findModelGroupRef, findTypeRef, getSourceAsStream, isNamespaceDefined, typeForClassnamepublic SchemaType findType(QName name)
SchemaTypeLoaderfindType in interface SchemaTypeLoaderpublic SchemaType findDocumentType(QName name)
SchemaTypeLoaderfindDocumentType in interface SchemaTypeLoaderpublic SchemaType findAttributeType(QName name)
SchemaTypeLoaderfindAttributeType in interface SchemaTypeLoaderpublic SchemaModelGroup findModelGroup(QName name)
SchemaTypeLoaderfindModelGroup in interface SchemaTypeLoaderpublic SchemaAttributeGroup findAttributeGroup(QName name)
SchemaTypeLoaderfindAttributeGroup in interface SchemaTypeLoaderpublic SchemaGlobalElement findElement(QName name)
SchemaTypeLoaderfindElement in interface SchemaTypeLoaderpublic SchemaGlobalAttribute findAttribute(QName name)
SchemaTypeLoaderfindAttribute in interface SchemaTypeLoaderpublic XmlObject newInstance(SchemaType type, XmlOptions options)
SchemaTypeLoadernewInstance in interface SchemaTypeLoaderpublic XmlObject parse(String xmlText, SchemaType type, XmlOptions options) throws XmlException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionpublic XmlObject parse(XMLStreamReader xsr, SchemaType type, XmlOptions options) throws XmlException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionpublic XmlObject parse(File file, SchemaType type, XmlOptions options) throws XmlException, IOException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionIOExceptionpublic XmlObject parse(URL url, SchemaType type, XmlOptions options) throws XmlException, IOException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionIOExceptionpublic XmlObject parse(InputStream jiois, SchemaType type, XmlOptions options) throws XmlException, IOException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionIOExceptionpublic XmlObject parse(Reader jior, SchemaType type, XmlOptions options) throws XmlException, IOException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionIOExceptionpublic XmlObject parse(Node node, SchemaType type, XmlOptions options) throws XmlException
SchemaTypeLoaderparse in interface SchemaTypeLoaderXmlExceptionpublic XmlSaxHandler newXmlSaxHandler(SchemaType type, XmlOptions options)
SchemaTypeLoadernewXmlSaxHandler in interface SchemaTypeLoaderpublic DOMImplementation newDomImplementation(XmlOptions options)
SchemaTypeLoadernewDomImplementation in interface SchemaTypeLoaderpublic String compilePath(String pathExpr, XmlOptions options)
SchemaTypeLoadercompilePath in interface SchemaTypeLoaderpublic String compileQuery(String queryExpr, XmlOptions options)
SchemaTypeLoadercompileQuery in interface SchemaTypeLoaderpublic SchemaType typeForSignature(String signature)
A signature is the string you get from type.toString().
typeForSignature in interface SchemaTypeLoader