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