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 Object
A 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(Object obj)Creates an immutableXmlAnySimpleTypevaluestatic XmlAnySimpleTypeparse(File f)Parses aXmlAnySimpleTypefragment from a File.static XmlAnySimpleTypeparse(File f, XmlOptions options)Parses aXmlAnySimpleTypefragment from a File.static XmlAnySimpleTypeparse(InputStream is)Parses aXmlAnySimpleTypefragment from an InputStream.static XmlAnySimpleTypeparse(InputStream is, XmlOptions options)Parses aXmlAnySimpleTypefragment from an InputStream.static XmlAnySimpleTypeparse(Reader r)Parses aXmlAnySimpleTypefragment from a Reader.static XmlAnySimpleTypeparse(Reader r, XmlOptions options)Parses aXmlAnySimpleTypefragment from a Reader.static XmlAnySimpleTypeparse(String s)Parses aXmlAnySimpleTypefragment from a String.static XmlAnySimpleTypeparse(String s, XmlOptions options)Parses aXmlAnySimpleTypefragment from a String.static XmlAnySimpleTypeparse(URL u)Parses aXmlAnySimpleTypefragment from a URL.static XmlAnySimpleTypeparse(URL u, XmlOptions options)Parses aXmlAnySimpleTypefragment from a URL.static XmlAnySimpleTypeparse(XMLStreamReader xsr)Parses aXmlAnySimpleTypefragment from an XMLStreamReader.static XmlAnySimpleTypeparse(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(Node node)Parses aXmlAnySimpleTypefragment from a DOM Node.static XmlAnySimpleTypeparse(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(Object obj)
Creates an immutableXmlAnySimpleTypevalue
-
parse
public static XmlAnySimpleType parse(String s) throws XmlException
Parses aXmlAnySimpleTypefragment from a String. For example: "<xml-fragment>anything</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(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(File f) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(URL u) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(InputStream is) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(Reader r) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlAnySimpleTypefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlAnySimpleType parse(Node node) throws XmlException
Parses aXmlAnySimpleTypefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(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(XMLStreamReader xsr) throws XmlException
Parses aXmlAnySimpleTypefragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlAnySimpleType parse(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
-
-