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