|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase
public abstract class SchemaTypeLoaderBase
| Constructor Summary | |
|---|---|
SchemaTypeLoaderBase()
|
|
| Method Summary | |
|---|---|
java.lang.String |
compilePath(java.lang.String pathExpr)
|
java.lang.String |
compilePath(java.lang.String pathExpr,
XmlOptions options)
Compiles an XPath |
java.lang.String |
compileQuery(java.lang.String queryExpr)
|
java.lang.String |
compileQuery(java.lang.String queryExpr,
XmlOptions options)
Compiles an XQuery |
SchemaGlobalAttribute |
findAttribute(javax.xml.namespace.QName name)
Returns the global attribute defintion with the given name, or null if none. |
SchemaAttributeGroup |
findAttributeGroup(javax.xml.namespace.QName name)
Returns the attribute group defintion with the given name, or null if none. |
SchemaType |
findAttributeType(javax.xml.namespace.QName name)
Returns the attribute type containing the given attribute name, or null if none. |
SchemaType |
findDocumentType(javax.xml.namespace.QName name)
Returns the document type rooted at the given element name, or null if none. |
SchemaGlobalElement |
findElement(javax.xml.namespace.QName name)
Returns the global element defintion with the given name, or null if none. |
SchemaModelGroup |
findModelGroup(javax.xml.namespace.QName name)
Returns the model group defintion with the given name, or null if none. |
SchemaType |
findType(javax.xml.namespace.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. |
XMLInputStream |
newValidatingXMLInputStream(XMLInputStream xis,
SchemaType type,
XmlOptions options)
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API. |
XmlSaxHandler |
newXmlSaxHandler(SchemaType type,
XmlOptions options)
Returns an XmlSaxHandler that can parse an instance of the given type. |
XmlObject |
parse(java.io.File file,
SchemaType type,
XmlOptions options)
Parses an instance of the given type. |
XmlObject |
parse(java.io.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(java.io.Reader jior,
SchemaType type,
XmlOptions options)
Parses an instance of the given type. |
XmlObject |
parse(java.lang.String xmlText,
SchemaType type,
XmlOptions options)
Parses an instance of the given type. |
XmlObject |
parse(java.net.URL url,
SchemaType type,
XmlOptions options)
Parses an instance of the given type. |
XmlObject |
parse(XMLInputStream xis,
SchemaType type,
XmlOptions options)
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API. |
XmlObject |
parse(javax.xml.stream.XMLStreamReader xsr,
SchemaType type,
XmlOptions options)
Parses an instance of the given type. |
SchemaType |
typeForSignature(java.lang.String signature)
Utility function to load a type from a signature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.xmlbeans.SchemaTypeLoader |
|---|
findAttributeGroupRef, findAttributeRef, findAttributeTypeRef, findDocumentTypeRef, findElementRef, findIdentityConstraintRef, findModelGroupRef, findTypeRef, getSourceAsStream, isNamespaceDefined, typeForClassname |
| Constructor Detail |
|---|
public SchemaTypeLoaderBase()
| Method Detail |
|---|
public SchemaType findType(javax.xml.namespace.QName name)
SchemaTypeLoader
findType in interface SchemaTypeLoaderpublic SchemaType findDocumentType(javax.xml.namespace.QName name)
SchemaTypeLoader
findDocumentType in interface SchemaTypeLoaderpublic SchemaType findAttributeType(javax.xml.namespace.QName name)
SchemaTypeLoader
findAttributeType in interface SchemaTypeLoaderpublic SchemaModelGroup findModelGroup(javax.xml.namespace.QName name)
SchemaTypeLoader
findModelGroup in interface SchemaTypeLoaderpublic SchemaAttributeGroup findAttributeGroup(javax.xml.namespace.QName name)
SchemaTypeLoader
findAttributeGroup in interface SchemaTypeLoaderpublic SchemaGlobalElement findElement(javax.xml.namespace.QName name)
SchemaTypeLoader
findElement in interface SchemaTypeLoaderpublic SchemaGlobalAttribute findAttribute(javax.xml.namespace.QName name)
SchemaTypeLoader
findAttribute in interface SchemaTypeLoader
public XmlObject newInstance(SchemaType type,
XmlOptions options)
SchemaTypeLoader
newInstance in interface SchemaTypeLoader
public XmlObject parse(java.lang.String xmlText,
SchemaType type,
XmlOptions options)
throws XmlException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
public XmlObject parse(XMLInputStream xis,
SchemaType type,
XmlOptions options)
throws XmlException,
XMLStreamException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
XMLStreamException
public XmlObject parse(javax.xml.stream.XMLStreamReader xsr,
SchemaType type,
XmlOptions options)
throws XmlException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
public XmlObject parse(java.io.File file,
SchemaType type,
XmlOptions options)
throws XmlException,
java.io.IOException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
java.io.IOException
public XmlObject parse(java.net.URL url,
SchemaType type,
XmlOptions options)
throws XmlException,
java.io.IOException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
java.io.IOException
public XmlObject parse(java.io.InputStream jiois,
SchemaType type,
XmlOptions options)
throws XmlException,
java.io.IOException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
java.io.IOException
public XmlObject parse(java.io.Reader jior,
SchemaType type,
XmlOptions options)
throws XmlException,
java.io.IOException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
java.io.IOException
public XmlObject parse(Node node,
SchemaType type,
XmlOptions options)
throws XmlException
SchemaTypeLoader
parse in interface SchemaTypeLoaderXmlException
public XmlSaxHandler newXmlSaxHandler(SchemaType type,
XmlOptions options)
SchemaTypeLoader
newXmlSaxHandler in interface SchemaTypeLoaderpublic DOMImplementation newDomImplementation(XmlOptions options)
SchemaTypeLoader
newDomImplementation in interface SchemaTypeLoader
public XMLInputStream newValidatingXMLInputStream(XMLInputStream xis,
SchemaType type,
XmlOptions options)
throws XmlException,
XMLStreamException
SchemaTypeLoader
newValidatingXMLInputStream in interface SchemaTypeLoaderXmlException
XMLStreamExceptionpublic java.lang.String compilePath(java.lang.String pathExpr)
public java.lang.String compilePath(java.lang.String pathExpr,
XmlOptions options)
SchemaTypeLoader
compilePath in interface SchemaTypeLoaderpublic java.lang.String compileQuery(java.lang.String queryExpr)
public java.lang.String compileQuery(java.lang.String queryExpr,
XmlOptions options)
SchemaTypeLoader
compileQuery in interface SchemaTypeLoaderpublic SchemaType typeForSignature(java.lang.String signature)
typeForSignature in interface SchemaTypeLoader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||