Class CharDocument.Factory
- java.lang.Object
-
- com.oceaninformatics.characterMapping.CharDocument.Factory
-
- Enclosing interface:
- CharDocument
public static final class CharDocument.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 CharDocumentnewInstance()static CharDocumentnewInstance(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 CharDocumentparse(File file)static CharDocumentparse(File file, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(InputStream is)static CharDocumentparse(InputStream is, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(Reader r)static CharDocumentparse(Reader r, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(String xmlAsString)static CharDocumentparse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(URL u)static CharDocumentparse(URL u, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(XMLStreamReader sr)static CharDocumentparse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options)static CharDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic CharDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic CharDocumentparse(Node node)static CharDocumentparse(Node node, org.apache.xmlbeans.XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static CharDocument newInstance()
-
newInstance
public static CharDocument newInstance(org.apache.xmlbeans.XmlOptions options)
-
parse
public static CharDocument parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument 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 CharDocument parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static CharDocument parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument parse(Node node) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static CharDocument 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 CharDocument 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
-
-