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