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