Package org.apache.xmlbeans
Class XmlAnyURI.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlAnyURI.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlAnyURI
newInstance()
Creates an empty instance ofXmlAnyURI
static XmlAnyURI
newInstance(XmlOptions options)
Creates an empty instance ofXmlAnyURI
static XMLInputStream
newValidatingXMLInputStream(XMLInputStream xis)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XMLInputStream
newValidatingXMLInputStream(XMLInputStream xis, XmlOptions options)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnyURI
newValue(Object obj)
Creates an immutableXmlAnyURI
valuestatic XmlAnyURI
parse(File f)
Parses aXmlAnyURI
fragment from a File.static XmlAnyURI
parse(File f, XmlOptions options)
Parses aXmlAnyURI
fragment from a File.static XmlAnyURI
parse(InputStream is)
Parses aXmlAnyURI
fragment from an InputStream.static XmlAnyURI
parse(InputStream is, XmlOptions options)
Parses aXmlAnyURI
fragment from an InputStream.static XmlAnyURI
parse(Reader r)
Parses aXmlAnyURI
fragment from a Reader.static XmlAnyURI
parse(Reader r, XmlOptions options)
Parses aXmlAnyURI
fragment from a Reader.static XmlAnyURI
parse(String s)
Parses aXmlAnyURI
fragment from a String.static XmlAnyURI
parse(String s, XmlOptions options)
Parses aXmlAnyURI
fragment from a String.static XmlAnyURI
parse(URL u)
Parses aXmlAnyURI
fragment from a URL.static XmlAnyURI
parse(URL u, XmlOptions options)
Parses aXmlAnyURI
fragment from a URL.static XmlAnyURI
parse(XMLStreamReader xsr)
Parses aXmlAnyURI
fragment from an XMLStreamReader.static XmlAnyURI
parse(XMLStreamReader xsr, XmlOptions options)
Parses aXmlAnyURI
fragment from an XMLStreamReader.static XmlAnyURI
parse(XMLInputStream xis)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnyURI
parse(XMLInputStream xis, XmlOptions options)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlAnyURI
parse(Node node)
Parses aXmlAnyURI
fragment from a DOM Node.static XmlAnyURI
parse(Node node, XmlOptions options)
Parses aXmlAnyURI
fragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlAnyURI newInstance(XmlOptions options)
Creates an empty instance ofXmlAnyURI
-
parse
public static XmlAnyURI parse(String s) throws XmlException
Parses aXmlAnyURI
fragment from a String. For example: "<xml-fragment>http://www.w3.org/</xml-fragment>
".- Throws:
XmlException
-
parse
public static XmlAnyURI parse(String s, XmlOptions options) throws XmlException
Parses aXmlAnyURI
fragment from a String. For example: "<xml-fragment>http://www.w3.org/</xml-fragment>
".- Throws:
XmlException
-
parse
public static XmlAnyURI parse(File f) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a File.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a File.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(URL u) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a URL.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a URL.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(InputStream is) throws XmlException, IOException
Parses aXmlAnyURI
fragment from an InputStream.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlAnyURI
fragment from an InputStream.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(Reader r) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a Reader.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlAnyURI
fragment from a Reader.- Throws:
XmlException
IOException
-
parse
public static XmlAnyURI parse(Node node) throws XmlException
Parses aXmlAnyURI
fragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlAnyURI parse(Node node, XmlOptions options) throws XmlException
Parses aXmlAnyURI
fragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlAnyURI parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlAnyURI
fragment from an XMLInputStream.- Throws:
XmlException
XMLStreamException
-
parse
public static XmlAnyURI parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlAnyURI
fragment from an XMLInputStream.- Throws:
XmlException
XMLStreamException
-
parse
public static XmlAnyURI parse(XMLStreamReader xsr) throws XmlException
Parses aXmlAnyURI
fragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlAnyURI parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlAnyURI
fragment 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:
XmlException
XMLStreamException
-
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:
XmlException
XMLStreamException
-
-