public static final class TextDocument.Factory extends Object
| Modifier and Type | Method and Description |
|---|---|
static TextDocument |
newInstance() |
static TextDocument |
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 TextDocument |
parse(File file) |
static TextDocument |
parse(File file,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(InputStream is) |
static TextDocument |
parse(InputStream is,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(Node node) |
static TextDocument |
parse(Node node,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(Reader r) |
static TextDocument |
parse(Reader r,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(String xmlAsString) |
static TextDocument |
parse(String xmlAsString,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(URL u) |
static TextDocument |
parse(URL u,
org.apache.xmlbeans.XmlOptions options) |
static TextDocument |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated.
XMLInputStream |
static TextDocument |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
org.apache.xmlbeans.XmlOptions options)
Deprecated.
XMLInputStream |
static TextDocument |
parse(XMLStreamReader sr) |
static TextDocument |
parse(XMLStreamReader sr,
org.apache.xmlbeans.XmlOptions options) |
public static TextDocument newInstance()
public static TextDocument newInstance(org.apache.xmlbeans.XmlOptions options)
public static TextDocument parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
xmlAsString - the string value to parseorg.apache.xmlbeans.XmlExceptionpublic static TextDocument parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TextDocument parse(File file) throws org.apache.xmlbeans.XmlException, IOException
file - the file from which to load an xml documentorg.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic static TextDocument parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TextDocument parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TextDocument parse(Node node) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TextDocument parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static TextDocument 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 TextDocument 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 © 2018 52north.org. All rights reserved.