Package org.apache.xmlbeans
Class XmlNOTATION.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlNOTATION.Factory
-
- Enclosing interface:
- XmlNOTATION
public static final class XmlNOTATION.Factory extends Object
A class with methods for creating instances ofXmlNOTATION.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlNOTATIONnewInstance()Creates an empty instance ofXmlNOTATIONstatic XmlNOTATIONnewInstance(XmlOptions options)Creates an empty instance ofXmlNOTATIONstatic 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 XmlNOTATIONnewValue(Object obj)Creates an immutableXmlNOTATIONvaluestatic XmlNOTATIONparse(File f)Parses aXmlNOTATIONfragment from a File.static XmlNOTATIONparse(File f, XmlOptions options)Parses aXmlNOTATIONfragment from a File.static XmlNOTATIONparse(InputStream is)Parses aXmlNOTATIONfragment from an InputStream.static XmlNOTATIONparse(InputStream is, XmlOptions options)Parses aXmlNOTATIONfragment from an InputStream.static XmlNOTATIONparse(Reader r)Parses aXmlNOTATIONfragment from a Reader.static XmlNOTATIONparse(Reader r, XmlOptions options)Parses aXmlNOTATIONfragment from a Reader.static XmlNOTATIONparse(String s)Parses aXmlNOTATIONfragment from a String.static XmlNOTATIONparse(String s, XmlOptions options)Parses aXmlNOTATIONfragment from a String.static XmlNOTATIONparse(URL u)Parses aXmlNOTATIONfragment from a URL.static XmlNOTATIONparse(URL u, XmlOptions options)Parses aXmlNOTATIONfragment from a URL.static XmlNOTATIONparse(XMLStreamReader xsr)Parses aXmlNOTATIONfragment from an XMLStreamReader.static XmlNOTATIONparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlNOTATIONfragment from an XMLStreamReader.static XmlNOTATIONparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNOTATIONparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNOTATIONparse(Node node)Parses aXmlNOTATIONfragment from a DOM Node.static XmlNOTATIONparse(Node node, XmlOptions options)Parses aXmlNOTATIONfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlNOTATION newInstance()
Creates an empty instance ofXmlNOTATION
-
newInstance
public static XmlNOTATION newInstance(XmlOptions options)
Creates an empty instance ofXmlNOTATION
-
newValue
public static XmlNOTATION newValue(Object obj)
Creates an immutableXmlNOTATIONvalue
-
parse
public static XmlNOTATION parse(String s) throws XmlException
Parses aXmlNOTATIONfragment from a String.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(String s, XmlOptions options) throws XmlException
Parses aXmlNOTATIONfragment from a String.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(File f) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(URL u) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(InputStream is) throws XmlException, IOException
Parses aXmlNOTATIONfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlNOTATIONfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(Reader r) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlNOTATIONfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNOTATION parse(Node node) throws XmlException
Parses aXmlNOTATIONfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(Node node, XmlOptions options) throws XmlException
Parses aXmlNOTATIONfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNOTATIONfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNOTATION parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNOTATIONfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNOTATION parse(XMLStreamReader xsr) throws XmlException
Parses aXmlNOTATIONfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlNOTATIONfragment 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
-
-