Package org.apache.xmlbeans
Class XmlPositiveInteger.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlPositiveInteger.Factory
-
- Enclosing interface:
- XmlPositiveInteger
public static final class XmlPositiveInteger.Factory extends Object
A class with methods for creating instances ofXmlPositiveInteger.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlPositiveIntegernewInstance()Creates an empty instance ofXmlPositiveIntegerstatic XmlPositiveIntegernewInstance(XmlOptions options)Creates an empty instance ofXmlPositiveIntegerstatic 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 XmlPositiveIntegernewValue(Object obj)Creates an immutableXmlPositiveIntegervaluestatic XmlPositiveIntegerparse(File f)Parses aXmlPositiveIntegerfragment from a File.static XmlPositiveIntegerparse(File f, XmlOptions options)Parses aXmlPositiveIntegerfragment from a File.static XmlPositiveIntegerparse(InputStream is)Parses aXmlPositiveIntegerfragment from an InputStream.static XmlPositiveIntegerparse(InputStream is, XmlOptions options)Parses aXmlPositiveIntegerfragment from an InputStream.static XmlPositiveIntegerparse(Reader r)Parses aXmlPositiveIntegerfragment from a Reader.static XmlPositiveIntegerparse(Reader r, XmlOptions options)Parses aXmlPositiveIntegerfragment from a Reader.static XmlPositiveIntegerparse(String s)Parses aXmlPositiveIntegerfragment from a String.static XmlPositiveIntegerparse(String s, XmlOptions options)Parses aXmlPositiveIntegerfragment from a String.static XmlPositiveIntegerparse(URL u)Parses aXmlPositiveIntegerfragment from a URL.static XmlPositiveIntegerparse(URL u, XmlOptions options)Parses aXmlPositiveIntegerfragment from a URL.static XmlPositiveIntegerparse(XMLStreamReader xsr)Parses aXmlPositiveIntegerfragment from an XMLStreamReader.static XmlPositiveIntegerparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlPositiveIntegerfragment from an XMLStreamReader.static XmlPositiveIntegerparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlPositiveIntegerparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlPositiveIntegerparse(Node node)Parses aXmlPositiveIntegerfragment from a DOM Node.static XmlPositiveIntegerparse(Node node, XmlOptions options)Parses aXmlPositiveIntegerfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlPositiveInteger newInstance()
Creates an empty instance ofXmlPositiveInteger
-
newInstance
public static XmlPositiveInteger newInstance(XmlOptions options)
Creates an empty instance ofXmlPositiveInteger
-
newValue
public static XmlPositiveInteger newValue(Object obj)
Creates an immutableXmlPositiveIntegervalue
-
parse
public static XmlPositiveInteger parse(String s) throws XmlException
Parses aXmlPositiveIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlPositiveInteger parse(String s, XmlOptions options) throws XmlException
Parses aXmlPositiveIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlPositiveInteger parse(File f) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(URL u) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(InputStream is) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(Reader r) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlPositiveIntegerfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlPositiveInteger parse(Node node) throws XmlException
Parses aXmlPositiveIntegerfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlPositiveInteger parse(Node node, XmlOptions options) throws XmlException
Parses aXmlPositiveIntegerfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlPositiveInteger parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlPositiveIntegerfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlPositiveInteger parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlPositiveIntegerfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlPositiveInteger parse(XMLStreamReader xsr) throws XmlException
Parses aXmlPositiveIntegerfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlPositiveInteger parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlPositiveIntegerfragment 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
-
-