Package x0.oasisNamesTcCiqXsdschemaXAL2
Class XALDocument.Factory
- java.lang.Object
-
- x0.oasisNamesTcCiqXsdschemaXAL2.XALDocument.Factory
-
- Enclosing interface:
- XALDocument
public static final class XALDocument.Factory extends Object
A factory class with static methods for creating instances of this type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XALDocumentnewInstance()static XALDocumentnewInstance(org.apache.xmlbeans.XmlOptions options)static org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic XALDocumentparse(File file)static XALDocumentparse(File file, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(InputStream is)static XALDocumentparse(InputStream is, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(Reader r)static XALDocumentparse(Reader r, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(String xmlAsString)static XALDocumentparse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(URL u)static XALDocumentparse(URL u, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(XMLStreamReader sr)static XALDocumentparse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options)static XALDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic XALDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic XALDocumentparse(Node node)static XALDocumentparse(Node node, org.apache.xmlbeans.XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static XALDocument newInstance()
-
newInstance
public static XALDocument newInstance(org.apache.xmlbeans.XmlOptions options)
-
parse
public static XALDocument parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(File file) throws org.apache.xmlbeans.XmlException, IOException
- Parameters:
file- the file from which to load an xml document- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static XALDocument parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(Node node) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static XALDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
parse
public static XALDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
-