Package org.apache.xmlbeans
Class XmlAnySimpleType.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlAnySimpleType.Factory
-
- Enclosing interface:
- XmlAnySimpleType
public static final class XmlAnySimpleType.Factory extends java.lang.ObjectA class with methods for creating instances ofXmlAnySimpleType.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlAnySimpleTypenewInstance()Creates an empty instance ofXmlAnySimpleTypestatic XmlAnySimpleTypenewInstance(XmlOptions options)Creates an empty instance ofXmlAnySimpleTypestatic XMLInputStreamnewValidatingXMLInputStream(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XMLInputStreamnewValidatingXMLInputStream(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnySimpleTypenewValue(java.lang.Object obj)Creates an immutableXmlAnySimpleTypevaluestatic XmlAnySimpleTypeparse(java.io.File f)Parses aXmlAnySimpleTypefragment from a File.static XmlAnySimpleTypeparse(java.io.File f, XmlOptions options)Parses aXmlAnySimpleTypefragment from a File.static XmlAnySimpleTypeparse(java.io.InputStream is)Parses aXmlAnySimpleTypefragment from an InputStream.static XmlAnySimpleTypeparse(java.io.InputStream is, XmlOptions options)Parses aXmlAnySimpleTypefragment from an InputStream.static XmlAnySimpleTypeparse(java.io.Reader r)Parses aXmlAnySimpleTypefragment from a Reader.static XmlAnySimpleTypeparse(java.io.Reader r, XmlOptions options)Parses aXmlAnySimpleTypefragment from a Reader.static XmlAnySimpleTypeparse(java.lang.String s)Parses aXmlAnySimpleTypefragment from a String.static XmlAnySimpleTypeparse(java.lang.String s, XmlOptions options)Parses aXmlAnySimpleTypefragment from a String.static XmlAnySimpleTypeparse(java.net.URL u)Parses aXmlAnySimpleTypefragment from a URL.static XmlAnySimpleTypeparse(java.net.URL u, XmlOptions options)Parses aXmlAnySimpleTypefragment from a URL.static XmlAnySimpleTypeparse(javax.xml.stream.XMLStreamReader xsr)Parses aXmlAnySimpleTypefragment from an XMLStreamReader.static XmlAnySimpleTypeparse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options)Parses aXmlAnySimpleTypefragment from an XMLStreamReader.static XmlAnySimpleTypeparse(XMLInputStream xis)Deprecated.Deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnySimpleTypeparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnySimpleTypeparse(org.w3c.dom.Node node)Parses aXmlAnySimpleTypefragment from a DOM Node.static XmlAnySimpleTypeparse(org.w3c.dom.Node node, XmlOptions options)Parses aXmlAnySimpleTypefragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlAnySimpleType newInstance()
Creates an empty instance ofXmlAnySimpleType
-
newInstance
public static XmlAnySimpleType newInstance(XmlOptions options)
Creates an empty instance ofXmlAnySimpleType
-
newValue
public static XmlAnySimpleType newValue(java.lang.Object obj)
Creates an immutableXmlAnySimpleTypevalue
-
parse
public static XmlAnySimpleType parse(java.lang.String s) throws XmlException
Parses aXmlAnySimpleTypefragment from a String. For example: "<xml-fragment>anything</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(java.lang.String s, XmlOptions options) throws XmlException
Parses aXmlAnySimpleTypefragment from a String. For example: "<xml-fragment>anything</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(java.io.File f) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.io.File f, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.net.URL u) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.io.InputStream is) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.io.Reader r) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlAnySimpleTypefragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlAnySimpleType parse(org.w3c.dom.Node node) throws XmlException
Parses aXmlAnySimpleTypefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(org.w3c.dom.Node node, XmlOptions options) throws XmlException
Parses aXmlAnySimpleTypefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.Deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlAnySimpleTypefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlAnySimpleType parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlAnySimpleTypefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlAnySimpleType parse(javax.xml.stream.XMLStreamReader xsr) throws XmlException
Parses aXmlAnySimpleTypefragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlAnySimpleTypefragment from an XMLStreamReader.- Throws:
XmlException
-
newValidatingXMLInputStream
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Returns a validating XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
newValidatingXMLInputStream
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Returns a validating XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
-