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