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 Object
A 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(Object obj)Creates an immutableXmlNormalizedStringvaluestatic XmlNormalizedStringparse(File f)Parses aXmlNormalizedStringfragment from a File.static XmlNormalizedStringparse(File f, XmlOptions options)Parses aXmlNormalizedStringfragment from a File.static XmlNormalizedStringparse(InputStream is)Parses aXmlNormalizedStringfragment from an InputStream.static XmlNormalizedStringparse(InputStream is, XmlOptions options)Parses aXmlNormalizedStringfragment from an InputStream.static XmlNormalizedStringparse(Reader r)Parses aXmlNormalizedStringfragment from a Reader.static XmlNormalizedStringparse(Reader r, XmlOptions options)Parses aXmlNormalizedStringfragment from a Reader.static XmlNormalizedStringparse(String s)Parses aXmlNormalizedStringfragment from a String.static XmlNormalizedStringparse(String s, XmlOptions options)Parses aXmlNormalizedStringfragment from a String.static XmlNormalizedStringparse(URL u)Parses aXmlNormalizedStringfragment from a URL.static XmlNormalizedStringparse(URL u, XmlOptions options)Parses aXmlNormalizedStringfragment from a URL.static XmlNormalizedStringparse(XMLStreamReader xsr)Parses aXmlNormalizedStringfragment from an XMLStreamReader.static XmlNormalizedStringparse(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(Node node)Parses aXmlNormalizedStringfragment from a DOM Node.static XmlNormalizedStringparse(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(Object obj)
Creates an immutableXmlNormalizedStringvalue
-
parse
public static XmlNormalizedString parse(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(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(File f) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(File f, XmlOptions options) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a File.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(URL u) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(URL u, XmlOptions options) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a URL.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(InputStream is) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(InputStream is, XmlOptions options) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from an InputStream.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(Reader r) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(Reader r, XmlOptions options) throws XmlException, IOException
Parses aXmlNormalizedStringfragment from a Reader.- Throws:
XmlExceptionIOException
-
parse
public static XmlNormalizedString parse(Node node) throws XmlException
Parses aXmlNormalizedStringfragment from a DOM Node.- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(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(XMLStreamReader xsr) throws XmlException
Parses aXmlNormalizedStringfragment from an XMLStreamReader.- Throws:
XmlException
-
parse
public static XmlNormalizedString parse(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
-
-