org.apache.xmlbeans
Class XmlNonNegativeInteger.Factory

java.lang.Object
  extended byorg.apache.xmlbeans.XmlNonNegativeInteger.Factory
Enclosing class:
XmlNonNegativeInteger

public static final class XmlNonNegativeInteger.Factory
extends Object

A class with methods for creating instances of XmlNonNegativeInteger.


Method Summary
static XmlNonNegativeInteger newInstance()
          Creates an empty instance of XmlNonNegativeInteger
static XmlNonNegativeInteger newInstance(XmlOptions options)
          Creates an empty instance of XmlNonNegativeInteger
static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)
          Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
static XmlNonNegativeInteger newValue(Object obj)
          Creates an immutable XmlNonNegativeInteger value
static XmlNonNegativeInteger parse(File f)
          Parses a XmlNonNegativeInteger fragment from a File.
static XmlNonNegativeInteger parse(File f, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from a File.
static XmlNonNegativeInteger parse(InputStream is)
          Parses a XmlNonNegativeInteger fragment from an InputStream.
static XmlNonNegativeInteger parse(InputStream is, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from an InputStream.
static XmlNonNegativeInteger parse(Node node)
          Parses a XmlNonNegativeInteger fragment from a DOM Node.
static XmlNonNegativeInteger parse(Node node, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from a DOM Node.
static XmlNonNegativeInteger parse(Reader r)
          Parses a XmlNonNegativeInteger fragment from a Reader.
static XmlNonNegativeInteger parse(Reader r, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from a Reader.
static XmlNonNegativeInteger parse(String s)
          Parses a XmlNonNegativeInteger fragment from a String.
static XmlNonNegativeInteger parse(String s, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from a String.
static XmlNonNegativeInteger parse(URL u)
          Parses a XmlNonNegativeInteger fragment from a URL.
static XmlNonNegativeInteger parse(URL u, XmlOptions options)
          Parses a XmlNonNegativeInteger fragment from a URL.
static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)
          Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static XmlNonNegativeInteger newInstance()
Creates an empty instance of XmlNonNegativeInteger


newInstance

public static XmlNonNegativeInteger newInstance(XmlOptions options)
Creates an empty instance of XmlNonNegativeInteger


newValue

public static XmlNonNegativeInteger newValue(Object obj)
Creates an immutable XmlNonNegativeInteger value


parse

public static XmlNonNegativeInteger parse(String s)
                                   throws XmlException
Parses a XmlNonNegativeInteger fragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".

Throws:
XmlException

parse

public static XmlNonNegativeInteger parse(String s,
                                          XmlOptions options)
                                   throws XmlException
Parses a XmlNonNegativeInteger fragment from a String. For example: "<xml-fragment>1234567890</xml-fragment>".

Throws:
XmlException

parse

public static XmlNonNegativeInteger parse(File f)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a File.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(File f,
                                          XmlOptions options)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a File.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(URL u)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a URL.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(URL u,
                                          XmlOptions options)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a URL.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(InputStream is)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from an InputStream.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(InputStream is,
                                          XmlOptions options)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from an InputStream.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(Reader r)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a Reader.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(Reader r,
                                          XmlOptions options)
                                   throws XmlException,
                                          IOException
Parses a XmlNonNegativeInteger fragment from a Reader.

Throws:
XmlException
IOException

parse

public static XmlNonNegativeInteger parse(Node node)
                                   throws XmlException
Parses a XmlNonNegativeInteger fragment from a DOM Node.

Throws:
XmlException

parse

public static XmlNonNegativeInteger parse(Node node,
                                          XmlOptions options)
                                   throws XmlException
Parses a XmlNonNegativeInteger fragment from a DOM Node.

Throws:
XmlException

parse

public static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
                                   throws XmlException,
                                          org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.

Parses a XmlNonNegativeInteger fragment from an XMLInputStream.

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

parse

public static XmlNonNegativeInteger parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
                                          XmlOptions options)
                                   throws XmlException,
                                          org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.

Parses a XmlNonNegativeInteger fragment from an XMLInputStream.

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

newValidatingXMLInputStream

public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
                                                                                 throws XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.

Returns a validating XMLInputStream.

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

newValidatingXMLInputStream

public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
                                                                                        XmlOptions options)
                                                                                 throws XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.

Returns a validating XMLInputStream.

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException