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 Object
A 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(Object obj)Creates an immutableXmlIntegervaluestatic XmlIntegerparse(File f)Parses aXmlIntegerfragment from a File.static XmlIntegerparse(File f, XmlOptions options)Parses aXmlIntegerfragment from a File.static XmlIntegerparse(InputStream is)Parses aXmlIntegerfragment from an InputStream.static XmlIntegerparse(InputStream is, XmlOptions options)Parses aXmlIntegerfragment from an InputStream.static XmlIntegerparse(Reader r)Parses aXmlIntegerfragment from a Reader.static XmlIntegerparse(Reader r, XmlOptions options)Parses aXmlIntegerfragment from a Reader.static XmlIntegerparse(String s)Parses aXmlIntegerfragment from a String.static XmlIntegerparse(String s, XmlOptions options)Parses aXmlIntegerfragment from a String.static XmlIntegerparse(URL u)Parses aXmlIntegerfragment from a URL.static XmlIntegerparse(URL u, XmlOptions options)Parses aXmlIntegerfragment from a URL.static XmlIntegerparse(XMLStreamReader xsr)Parses aXmlIntegerfragment from an XMLStreamReader.static XmlIntegerparse(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(Node node)Parses aXmlIntegerfragment from a DOM Node.static XmlIntegerparse(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(Object obj)
Creates an immutableXmlIntegervalue
-
parse
public static XmlInteger parse(String s) throws XmlException
Parses aXmlIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlInteger parse(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(File f) throws XmlException, IOException
Parses aXmlIntegerfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlIntegerfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(URL u) throws XmlException, IOException
Parses aXmlIntegerfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlIntegerfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(InputStream is) throws XmlException, IOException
Parses aXmlIntegerfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlIntegerfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(Reader r) throws XmlException, IOException
Parses aXmlIntegerfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlIntegerfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlInteger parse(Node node) throws XmlException
Parses aXmlIntegerfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlInteger parse(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(XMLStreamReader xsr) throws XmlException
Parses aXmlIntegerfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlInteger parse(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
-
-