Package org.apache.xmlbeans
Class XmlFloat.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlFloat.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlFloatnewInstance()Creates an empty instance ofXmlFloatstatic XmlFloatnewInstance(XmlOptions options)Creates an empty instance ofXmlFloatstatic 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 XmlFloatnewValue(Object obj)Creates an immutableXmlFloatvaluestatic XmlFloatparse(File f)Parses aXmlFloatfragment from a File.static XmlFloatparse(File f, XmlOptions options)Parses aXmlFloatfragment from a File.static XmlFloatparse(InputStream is)Parses aXmlFloatfragment from an InputStream.static XmlFloatparse(InputStream is, XmlOptions options)Parses aXmlFloatfragment from an InputStream.static XmlFloatparse(Reader r)Parses aXmlFloatfragment from a Reader.static XmlFloatparse(Reader r, XmlOptions options)Parses aXmlFloatfragment from a Reader.static XmlFloatparse(String s)Parses aXmlFloatfragment from a String.static XmlFloatparse(String s, XmlOptions options)Parses aXmlFloatfragment from a String.static XmlFloatparse(URL u)Parses aXmlFloatfragment from a URL.static XmlFloatparse(URL u, XmlOptions options)Parses aXmlFloatfragment from a URL.static XmlFloatparse(XMLStreamReader xsr)Parses aXmlFloatfragment from an XMLStreamReader.static XmlFloatparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlFloatfragment from an XMLStreamReader.static XmlFloatparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlFloatparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlFloatparse(Node node)Parses aXmlFloatfragment from a DOM Node.static XmlFloatparse(Node node, XmlOptions options)Parses aXmlFloatfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlFloat newInstance(XmlOptions options)
Creates an empty instance ofXmlFloat
-
parse
public static XmlFloat parse(String s) throws XmlException
Parses aXmlFloatfragment from a String. For example: "<xml-fragment>12.34e+5</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlFloat parse(String s, XmlOptions options) throws XmlException
Parses aXmlFloatfragment from a String. For example: "<xml-fragment>12.34e+5</xml-fragment>".- Throws:
XmlException
-
parse
public static XmlFloat parse(File f) throws XmlException, IOException
Parses aXmlFloatfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlFloatfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(URL u) throws XmlException, IOException
Parses aXmlFloatfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlFloatfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(InputStream is) throws XmlException, IOException
Parses aXmlFloatfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlFloatfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(Reader r) throws XmlException, IOException
Parses aXmlFloatfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlFloatfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlFloat parse(Node node) throws XmlException
Parses aXmlFloatfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlFloat parse(Node node, XmlOptions options) throws XmlException
Parses aXmlFloatfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlFloat parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlFloatfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlFloat parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlFloatfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlFloat parse(XMLStreamReader xsr) throws XmlException
Parses aXmlFloatfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlFloat parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlFloatfragment 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
-
-