Package org.apache.xmlbeans
Class XmlNCName.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlNCName.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlNCNamenewInstance()Creates an empty instance ofXmlNCNamestatic XmlNCNamenewInstance(XmlOptions options)Creates an empty instance ofXmlNCNamestatic 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 XmlNCNamenewValue(Object obj)Creates an immutableXmlNCNamevaluestatic XmlNCNameparse(File f)Parses aXmlNCNamefragment from a File.static XmlNCNameparse(File f, XmlOptions options)Parses aXmlNCNamefragment from a File.static XmlNCNameparse(InputStream is)Parses aXmlNCNamefragment from an InputStream.static XmlNCNameparse(InputStream is, XmlOptions options)Parses aXmlNCNamefragment from an InputStream.static XmlNCNameparse(Reader r)Parses aXmlNCNamefragment from a Reader.static XmlNCNameparse(Reader r, XmlOptions options)Parses aXmlNCNamefragment from a Reader.static XmlNCNameparse(String s)Parses aXmlNCNamefragment from a String.static XmlNCNameparse(String s, XmlOptions options)Parses aXmlNCNamefragment from a String.static XmlNCNameparse(URL u)Parses aXmlNCNamefragment from a URL.static XmlNCNameparse(URL u, XmlOptions options)Parses aXmlNCNamefragment from a URL.static XmlNCNameparse(XMLStreamReader xsr)Parses aXmlNCNamefragment from an XMLStreamReader.static XmlNCNameparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlNCNamefragment from an XMLStreamReader.static XmlNCNameparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNCNameparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNCNameparse(Node node)Parses aXmlNCNamefragment from a DOM Node.static XmlNCNameparse(Node node, XmlOptions options)Parses aXmlNCNamefragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlNCName newInstance(XmlOptions options)
Creates an empty instance ofXmlNCName
-
parse
public static XmlNCName parse(String s) throws XmlException
Parses aXmlNCNamefragment from a String. For example: "<xml-fragment>My-Name</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlNCName parse(String s, XmlOptions options) throws XmlException
Parses aXmlNCNamefragment from a String. For example: "<xml-fragment>My-Name</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlNCName parse(File f) throws XmlException, IOException
Parses aXmlNCNamefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlNCNamefragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(URL u) throws XmlException, IOException
Parses aXmlNCNamefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlNCNamefragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(InputStream is) throws XmlException, IOException
Parses aXmlNCNamefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlNCNamefragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(Reader r) throws XmlException, IOException
Parses aXmlNCNamefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlNCNamefragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNCName parse(Node node) throws XmlException
Parses aXmlNCNamefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNCName parse(Node node, XmlOptions options) throws XmlException
Parses aXmlNCNamefragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNCName parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNCNamefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNCName parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNCNamefragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNCName parse(XMLStreamReader xsr) throws XmlException
Parses aXmlNCNamefragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlNCName parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlNCNamefragment 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
-
-