Package org.apache.xmlbeans
Class XmlQName.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlQName.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlQNamenewInstance()Creates an empty instance ofXmlQNamestatic XmlQNamenewInstance(XmlOptions options)Creates an empty instance ofXmlQNamestatic 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 XmlQNamenewValue(Object obj)Creates an immutableXmlQNamevaluestatic XmlQNameparse(File f)Parses aXmlQNamefragment from a File.static XmlQNameparse(File f, XmlOptions options)Parses aXmlQNamefragment from a File.static XmlQNameparse(InputStream is)Parses aXmlQNamefragment from an InputStream.static XmlQNameparse(InputStream is, XmlOptions options)Parses aXmlQNamefragment from an InputStream.static XmlQNameparse(Reader r)Parses aXmlQNamefragment from a Reader.static XmlQNameparse(Reader r, XmlOptions options)Parses aXmlQNamefragment from a Reader.static XmlQNameparse(String s)Parses aXmlQNamefragment from a String.static XmlQNameparse(String s, XmlOptions options)Parses aXmlQNamefragment from a String.static XmlQNameparse(URL u)Parses aXmlQNamefragment from a URL.static XmlQNameparse(URL u, XmlOptions options)Parses aXmlQNamefragment from a URL.static XmlQNameparse(XMLStreamReader xsr)Parses aXmlQNamefragment from an XMLStreamReader.static XmlQNameparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlQNamefragment from an XMLStreamReader.static XmlQNameparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlQNameparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlQNameparse(Node node)Parses aXmlQNamefragment from a DOM Node.static XmlQNameparse(Node node, XmlOptions options)Parses aXmlQNamefragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlQName newInstance(XmlOptions options)
Creates an empty instance ofXmlQName
-
parse
public static XmlQName parse(String s) throws XmlException
Parses aXmlQNamefragment from a String. For example: "<xml-fragment xmlns:x="http://openuri.org/">x:sample</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlQName parse(String s, XmlOptions options) throws XmlException
Parses aXmlQNamefragment from a String. For example: "<xml-fragment xmlns:x="http://openuri.org/">x:sample</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlQName parse(File f) throws XmlException, IOException
Parses aXmlQNamefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlQNamefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(URL u) throws XmlException, IOException
Parses aXmlQNamefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlQNamefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(InputStream is) throws XmlException, IOException
Parses aXmlQNamefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlQNamefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(Reader r) throws XmlException, IOException
Parses aXmlQNamefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlQNamefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlQName parse(Node node) throws XmlException
Parses aXmlQNamefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlQName parse(Node node, XmlOptions options) throws XmlException
Parses aXmlQNamefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlQName parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlQNamefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlQName parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlQNamefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlQName parse(XMLStreamReader xsr) throws XmlException
Parses aXmlQNamefragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlQName parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlQNamefragment 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
-
-