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