Package org.apache.xmlbeans
Class XmlInteger.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlInteger.Factory
-
- Enclosing interface:
- XmlInteger
public static final class XmlInteger.Factory extends java.lang.ObjectA class with methods for creating instances ofXmlInteger.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlIntegernewInstance()Creates an empty instance ofXmlIntegerstatic XmlIntegernewInstance(XmlOptions options)Creates an empty instance ofXmlIntegerstatic 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 XmlIntegernewValue(java.lang.Object obj)Creates an immutableXmlIntegervaluestatic XmlIntegerparse(java.io.File f)Parses aXmlIntegerfragment from a File.static XmlIntegerparse(java.io.File f, XmlOptions options)Parses aXmlIntegerfragment from a File.static XmlIntegerparse(java.io.InputStream is)Parses aXmlIntegerfragment from an InputStream.static XmlIntegerparse(java.io.InputStream is, XmlOptions options)Parses aXmlIntegerfragment from an InputStream.static XmlIntegerparse(java.io.Reader r)Parses aXmlIntegerfragment from a Reader.static XmlIntegerparse(java.io.Reader r, XmlOptions options)Parses aXmlIntegerfragment from a Reader.static XmlIntegerparse(java.lang.String s)Parses aXmlIntegerfragment from a String.static XmlIntegerparse(java.lang.String s, XmlOptions options)Parses aXmlIntegerfragment from a String.static XmlIntegerparse(java.net.URL u)Parses aXmlIntegerfragment from a URL.static XmlIntegerparse(java.net.URL u, XmlOptions options)Parses aXmlIntegerfragment from a URL.static XmlIntegerparse(javax.xml.stream.XMLStreamReader xsr)Parses aXmlIntegerfragment from an XMLStreamReader.static XmlIntegerparse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options)Parses aXmlIntegerfragment from an XMLStreamReader.static XmlIntegerparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlIntegerparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlIntegerparse(org.w3c.dom.Node node)Parses aXmlIntegerfragment from a DOM Node.static XmlIntegerparse(org.w3c.dom.Node node, XmlOptions options)Parses aXmlIntegerfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlInteger newInstance()
Creates an empty instance ofXmlInteger
-
newInstance
public static XmlInteger newInstance(XmlOptions options)
Creates an empty instance ofXmlInteger
-
newValue
public static XmlInteger newValue(java.lang.Object obj)
Creates an immutableXmlIntegervalue
-
parse
public static XmlInteger parse(java.lang.String s) throws XmlException
Parses aXmlIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlInteger parse(java.lang.String s, XmlOptions options) throws XmlException
Parses aXmlIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlInteger parse(java.io.File f) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.io.File f, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.net.URL u) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.io.InputStream is) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.io.Reader r) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlIntegerfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlInteger parse(org.w3c.dom.Node node) throws XmlException
Parses aXmlIntegerfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlInteger parse(org.w3c.dom.Node node, XmlOptions options) throws XmlException
Parses aXmlIntegerfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlInteger parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlIntegerfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlInteger parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlIntegerfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlInteger parse(javax.xml.stream.XMLStreamReader xsr) throws XmlException
Parses aXmlIntegerfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlInteger parse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlIntegerfragment 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
-
-