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