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 java.lang.ObjectA 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(java.lang.Object obj)Creates an immutableXmlNOTATIONvaluestatic XmlNOTATIONparse(java.io.File f)Parses aXmlNOTATIONfragment from a File.static XmlNOTATIONparse(java.io.File f, XmlOptions options)Parses aXmlNOTATIONfragment from a File.static XmlNOTATIONparse(java.io.InputStream is)Parses aXmlNOTATIONfragment from an InputStream.static XmlNOTATIONparse(java.io.InputStream is, XmlOptions options)Parses aXmlNOTATIONfragment from an InputStream.static XmlNOTATIONparse(java.io.Reader r)Parses aXmlNOTATIONfragment from a Reader.static XmlNOTATIONparse(java.io.Reader r, XmlOptions options)Parses aXmlNOTATIONfragment from a Reader.static XmlNOTATIONparse(java.lang.String s)Parses aXmlNOTATIONfragment from a String.static XmlNOTATIONparse(java.lang.String s, XmlOptions options)Parses aXmlNOTATIONfragment from a String.static XmlNOTATIONparse(java.net.URL u)Parses aXmlNOTATIONfragment from a URL.static XmlNOTATIONparse(java.net.URL u, XmlOptions options)Parses aXmlNOTATIONfragment from a URL.static XmlNOTATIONparse(javax.xml.stream.XMLStreamReader xsr)Parses aXmlNOTATIONfragment from an XMLStreamReader.static XmlNOTATIONparse(javax.xml.stream.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(org.w3c.dom.Node node)Parses aXmlNOTATIONfragment from a DOM Node.static XmlNOTATIONparse(org.w3c.dom.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(java.lang.Object obj)
Creates an immutableXmlNOTATIONvalue
-
parse
public static XmlNOTATION parse(java.lang.String s) throws XmlException
Parses aXmlNOTATIONfragment from a String.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(java.lang.String s, XmlOptions options) throws XmlException
Parses aXmlNOTATIONfragment from a String.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(java.io.File f) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.io.File f, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.net.URL u) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.io.InputStream is) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.io.Reader r) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNOTATIONfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNOTATION parse(org.w3c.dom.Node node) throws XmlException
Parses aXmlNOTATIONfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(org.w3c.dom.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(javax.xml.stream.XMLStreamReader xsr) throws XmlException
Parses aXmlNOTATIONfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlNOTATION parse(javax.xml.stream.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
-
-