Package org.apache.xmlbeans
Class XmlNormalizedString.Factory
- java.lang.Object
-
- org.apache.xmlbeans.XmlNormalizedString.Factory
-
- Enclosing interface:
- XmlNormalizedString
public static final class XmlNormalizedString.Factory extends java.lang.ObjectA class with methods for creating instances ofXmlNormalizedString.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static XmlNormalizedStringnewInstance()Creates an empty instance ofXmlNormalizedStringstatic XmlNormalizedStringnewInstance(XmlOptions options)Creates an empty instance ofXmlNormalizedStringstatic 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 XmlNormalizedStringnewValue(java.lang.Object obj)Creates an immutableXmlNormalizedStringvaluestatic XmlNormalizedStringparse(java.io.File f)Parses aXmlNormalizedStringfragment from a File.static XmlNormalizedStringparse(java.io.File f, XmlOptions options)Parses aXmlNormalizedStringfragment from a File.static XmlNormalizedStringparse(java.io.InputStream is)Parses aXmlNormalizedStringfragment from an InputStream.static XmlNormalizedStringparse(java.io.InputStream is, XmlOptions options)Parses aXmlNormalizedStringfragment from an InputStream.static XmlNormalizedStringparse(java.io.Reader r)Parses aXmlNormalizedStringfragment from a Reader.static XmlNormalizedStringparse(java.io.Reader r, XmlOptions options)Parses aXmlNormalizedStringfragment from a Reader.static XmlNormalizedStringparse(java.lang.String s)Parses aXmlNormalizedStringfragment from a String.static XmlNormalizedStringparse(java.lang.String s, XmlOptions options)Parses aXmlNormalizedStringfragment from a String.static XmlNormalizedStringparse(java.net.URL u)Parses aXmlNormalizedStringfragment from a URL.static XmlNormalizedStringparse(java.net.URL u, XmlOptions options)Parses aXmlNormalizedStringfragment from a URL.static XmlNormalizedStringparse(javax.xml.stream.XMLStreamReader xsr)Parses aXmlNormalizedStringfragment from an XMLStreamReader.static XmlNormalizedStringparse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options)Parses aXmlNormalizedStringfragment from an XMLStreamReader.static XmlNormalizedStringparse(XMLInputStream xis)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNormalizedStringparse(XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlNormalizedStringparse(org.w3c.dom.Node node)Parses aXmlNormalizedStringfragment from a DOM Node.static XmlNormalizedStringparse(org.w3c.dom.Node node, XmlOptions options)Parses aXmlNormalizedStringfragment from a DOM Node.
-
-
-
Method Detail
-
newInstance
public static XmlNormalizedString newInstance()
Creates an empty instance ofXmlNormalizedString
-
newInstance
public static XmlNormalizedString newInstance(XmlOptions options)
Creates an empty instance ofXmlNormalizedString
-
newValue
public static XmlNormalizedString newValue(java.lang.Object obj)
Creates an immutableXmlNormalizedStringvalue
-
parse
public static XmlNormalizedString parse(java.lang.String s) throws XmlException
Parses aXmlNormalizedStringfragment from a String. For example: "<xml-fragment> string to normalize </xml-fragment>".- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(java.lang.String s, XmlOptions options) throws XmlException
Parses aXmlNormalizedStringfragment from a String. For example: "<xml-fragment> string to normalize </xml-fragment>".- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(java.io.File f) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.io.File f, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a File.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.net.URL u) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a URL.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.io.InputStream is) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from an InputStream.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.io.Reader r) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
Parses aXmlNormalizedStringfragment from a Reader.- Throws:
XmlExceptionjava.io.IOException
-
parse
public static XmlNormalizedString parse(org.w3c.dom.Node node) throws XmlException
Parses aXmlNormalizedStringfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(org.w3c.dom.Node node, XmlOptions options) throws XmlException
Parses aXmlNormalizedStringfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNormalizedStringfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNormalizedString parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.Parses aXmlNormalizedStringfragment from an XMLInputStream.- Throws:
XmlExceptionXMLStreamException
-
parse
public static XmlNormalizedString parse(javax.xml.stream.XMLStreamReader xsr) throws XmlException
Parses aXmlNormalizedStringfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(javax.xml.stream.XMLStreamReader xsr, XmlOptions options) throws XmlException
Parses aXmlNormalizedStringfragment 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
-
-