Package openEHR.v1.template
Class ELEMENT.Factory
- java.lang.Object
-
- openEHR.v1.template.ELEMENT.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ELEMENTnewInstance()static ELEMENTnewInstance(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 ELEMENTparse(File file)static ELEMENTparse(File file, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(InputStream is)static ELEMENTparse(InputStream is, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(Reader r)static ELEMENTparse(Reader r, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(String xmlAsString)static ELEMENTparse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(URL u)static ELEMENTparse(URL u, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(XMLStreamReader sr)static ELEMENTparse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options)static ELEMENTparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic ELEMENTparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic ELEMENTparse(Node node)static ELEMENTparse(Node node, org.apache.xmlbeans.XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static ELEMENT newInstance()
-
newInstance
public static ELEMENT newInstance(org.apache.xmlbeans.XmlOptions options)
-
parse
public static ELEMENT parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT 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 ELEMENT parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ELEMENT parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT parse(Node node) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ELEMENT 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 ELEMENT 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
-
-