Package org.apache.xmlbeans
Class XmlENTITY.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlENTITY.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlENTITYnewInstance()Creates an empty instance ofXmlENTITYstatic XmlENTITYnewInstance(XmlOptions options)Creates an empty instance ofXmlENTITYstatic 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 XmlENTITYnewValue(Object obj)Creates an immutableXmlENTITYvaluestatic XmlENTITYparse(File f)Parses aXmlENTITYfragment from a File.static XmlENTITYparse(File f, XmlOptions options)Parses aXmlENTITYfragment from a File.static XmlENTITYparse(InputStream is)Parses aXmlENTITYfragment from an InputStream.static XmlENTITYparse(InputStream is, XmlOptions options)Parses aXmlENTITYfragment from an InputStream.static XmlENTITYparse(Reader r)Parses aXmlENTITYfragment from a Reader.static XmlENTITYparse(Reader r, XmlOptions options)Parses aXmlENTITYfragment from a Reader.static XmlENTITYparse(String s)Parses aXmlENTITYfragment from a String.static XmlENTITYparse(String s, XmlOptions options)Parses aXmlENTITYfragment from a String.static XmlENTITYparse(URL u)Parses aXmlENTITYfragment from a URL.static XmlENTITYparse(URL u, XmlOptions options)Parses aXmlENTITYfragment from a URL.static XmlENTITYparse(XMLStreamReader xsr)Parses aXmlENTITYfragment from an XMLStreamReader.static XmlENTITYparse(XMLStreamReader xsr, XmlOptions options)Parses aXmlENTITYfragment from an XMLStreamReader.static XmlENTITYparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlENTITYparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlENTITYparse(Node node)Parses aXmlENTITYfragment from a DOM Node.static XmlENTITYparse(Node node, XmlOptions options)Parses aXmlENTITYfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlENTITY newInstance(XmlOptions options)
Creates an empty instance ofXmlENTITY
-
parse
public static XmlENTITY parse(String s) throws XmlException
Parses aXmlENTITYfragment from a String.- Throws:
XmlException
-
parse
public static XmlENTITY parse(String s, XmlOptions options) throws XmlException
Parses aXmlENTITYfragment from a String.- Throws:
XmlException
-
parse
public static XmlENTITY parse(File f) throws XmlException, IOException
Parses aXmlENTITYfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlENTITYfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(URL u) throws XmlException, IOException
Parses aXmlENTITYfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlENTITYfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(InputStream is) throws XmlException, IOException
Parses aXmlENTITYfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlENTITYfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(Reader r) throws XmlException, IOException
Parses aXmlENTITYfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlENTITYfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlENTITY parse(Node node) throws XmlException
Parses aXmlENTITYfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlENTITY parse(Node node, XmlOptions options) throws XmlException
Parses aXmlENTITYfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlENTITY parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlENTITYfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlENTITY parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlENTITYfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlENTITY parse(XMLStreamReader xsr) throws XmlException
Parses aXmlENTITYfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlENTITY parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlENTITYfragment 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
-
-