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