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