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