public static final class TopLevelElement.Factory extends Object
| Modifier | Constructor and Description |
|---|---|
private |
Factory() |
| Modifier and Type | Method and Description |
|---|---|
static TopLevelElement |
newInstance() |
static TopLevelElement |
newInstance(org.apache.xmlbeans.XmlOptions options) |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated.
XMLInputStream |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
org.apache.xmlbeans.XmlOptions options)
Deprecated.
XMLInputStream |
static TopLevelElement |
parse(File file) |
static TopLevelElement |
parse(File file,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(InputStream is) |
static TopLevelElement |
parse(InputStream is,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(Node node) |
static TopLevelElement |
parse(Node node,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(Reader r) |
static TopLevelElement |
parse(Reader r,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(String xmlAsString) |
static TopLevelElement |
parse(String xmlAsString,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(URL u) |
static TopLevelElement |
parse(URL u,
org.apache.xmlbeans.XmlOptions options) |
static TopLevelElement |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated.
XMLInputStream |
static TopLevelElement |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
org.apache.xmlbeans.XmlOptions options)
Deprecated.
XMLInputStream |
static TopLevelElement |
parse(XMLStreamReader sr) |
static TopLevelElement |
parse(XMLStreamReader sr,
org.apache.xmlbeans.XmlOptions options) |
public static TopLevelElement newInstance()
public static TopLevelElement newInstance(org.apache.xmlbeans.XmlOptions options)
public static TopLevelElement parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
xmlAsString - the string value to parseorg.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(File file) throws org.apache.xmlbeans.XmlException, IOException
file - the file from which to load an xml documentorg.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TopLevelElement parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(Node node) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TopLevelElement parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStreamorg.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamExceptionpublic static TopLevelElement parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStreamorg.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamExceptionpublic 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.XMLStreamException
XMLInputStreamorg.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamExceptionpublic 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.XMLStreamException
XMLInputStreamorg.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamExceptionCopyright © 2014–2023 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.