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 java.lang.ObjectA 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(java.lang.Object obj)Creates an immutableXmlPositiveIntegervaluestatic XmlPositiveIntegerparse(java.io.File f)Parses aXmlPositiveIntegerfragment from a File.static XmlPositiveIntegerparse(java.io.File f, XmlOptions options)Parses aXmlPositiveIntegerfragment from a File.static XmlPositiveIntegerparse(java.io.InputStream is)Parses aXmlPositiveIntegerfragment from an InputStream.static XmlPositiveIntegerparse(java.io.InputStream is, XmlOptions options)Parses aXmlPositiveIntegerfragment from an InputStream.static XmlPositiveIntegerparse(java.io.Reader r)Parses aXmlPositiveIntegerfragment from a Reader.static XmlPositiveIntegerparse(java.io.Reader r, XmlOptions options)Parses aXmlPositiveIntegerfragment from a Reader.static XmlPositiveIntegerparse(java.lang.String s)Parses aXmlPositiveIntegerfragment from a String.static XmlPositiveIntegerparse(java.lang.String s, XmlOptions options)Parses aXmlPositiveIntegerfragment from a String.static XmlPositiveIntegerparse(java.net.URL u)Parses aXmlPositiveIntegerfragment from a URL.static XmlPositiveIntegerparse(java.net.URL u, XmlOptions options)Parses aXmlPositiveIntegerfragment from a URL.static XmlPositiveIntegerparse(javax.xml.stream.XMLStreamReader xsr)Parses aXmlPositiveIntegerfragment from an XMLStreamReader.static XmlPositiveIntegerparse(javax.xml.stream.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(org.w3c.dom.Node node)Parses aXmlPositiveIntegerfragment from a DOM Node.static XmlPositiveIntegerparse(org.w3c.dom.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(java.lang.Object obj)
Creates an immutableXmlPositiveIntegervalue 
- 
parse
public static XmlPositiveInteger parse(java.lang.String s) throws XmlException
Parses aXmlPositiveIntegerfragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".- Throws:
 XmlException
 
- 
parse
public static XmlPositiveInteger parse(java.lang.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(java.io.File f) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a File.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.io.File f, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a File.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.net.URL u) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a URL.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a URL.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.io.InputStream is) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from an InputStream.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from an InputStream.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.io.Reader r) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a Reader.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlPositiveIntegerfragment from a Reader.- Throws:
 XmlExceptionjava.io.IOException
 
- 
parse
public static XmlPositiveInteger parse(org.w3c.dom.Node node) throws XmlException
Parses aXmlPositiveIntegerfragment from a DOM Node.- Throws:
 XmlException
 
- 
parse
public static XmlPositiveInteger parse(org.w3c.dom.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(javax.xml.stream.XMLStreamReader xsr) throws XmlException
Parses aXmlPositiveIntegerfragment from an XMLStreamReader.- Throws:
 XmlException
 
- 
parse
public static XmlPositiveInteger parse(javax.xml.stream.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
 
 - 
 
 -