public static final class XmlLanguage.Factory extends Object
XmlLanguage
.Modifier and Type | Method and Description |
---|---|
static XmlLanguage |
newInstance()
Creates an empty instance of
XmlLanguage |
static XmlLanguage |
newInstance(XmlOptions options)
Creates an empty instance of
XmlLanguage |
static XMLInputStream |
newValidatingXMLInputStream(XMLInputStream xis)
Deprecated.
XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
|
static XMLInputStream |
newValidatingXMLInputStream(XMLInputStream xis,
XmlOptions options)
Deprecated.
XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
|
static XmlLanguage |
newValue(Object obj)
Creates an immutable
XmlLanguage value |
static XmlLanguage |
parse(File f)
Parses a
XmlLanguage fragment from a File. |
static XmlLanguage |
parse(File f,
XmlOptions options)
Parses a
XmlLanguage fragment from a File. |
static XmlLanguage |
parse(InputStream is)
Parses a
XmlLanguage fragment from an InputStream. |
static XmlLanguage |
parse(InputStream is,
XmlOptions options)
Parses a
XmlLanguage fragment from an InputStream. |
static XmlLanguage |
parse(Node node)
Parses a
XmlLanguage fragment from a DOM Node. |
static XmlLanguage |
parse(Node node,
XmlOptions options)
Parses a
XmlLanguage fragment from a DOM Node. |
static XmlLanguage |
parse(Reader r)
Parses a
XmlLanguage fragment from a Reader. |
static XmlLanguage |
parse(Reader r,
XmlOptions options)
Parses a
XmlLanguage fragment from a Reader. |
static XmlLanguage |
parse(String s)
Parses a
XmlLanguage fragment from a String. |
static XmlLanguage |
parse(String s,
XmlOptions options)
Parses a
XmlLanguage fragment from a String. |
static XmlLanguage |
parse(URL u)
Parses a
XmlLanguage fragment from a URL. |
static XmlLanguage |
parse(URL u,
XmlOptions options)
Parses a
XmlLanguage fragment from a URL. |
static XmlLanguage |
parse(XMLInputStream xis)
Deprecated.
XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
|
static XmlLanguage |
parse(XMLInputStream xis,
XmlOptions options)
Deprecated.
XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
|
static XmlLanguage |
parse(XMLStreamReader xsr)
Parses a
XmlLanguage fragment from an XMLStreamReader. |
static XmlLanguage |
parse(XMLStreamReader xsr,
XmlOptions options)
Parses a
XmlLanguage fragment from an XMLStreamReader. |
public static XmlLanguage newInstance()
XmlLanguage
public static XmlLanguage newInstance(XmlOptions options)
XmlLanguage
public static XmlLanguage newValue(Object obj)
XmlLanguage
valuepublic static XmlLanguage parse(String s) throws XmlException
XmlLanguage
fragment from a String. For example: "<xml-fragment>en-us</xml-fragment>
".XmlException
public static XmlLanguage parse(String s, XmlOptions options) throws XmlException
XmlLanguage
fragment from a String. For example: "<xml-fragment>en-us</xml-fragment>
".XmlException
public static XmlLanguage parse(File f) throws XmlException, IOException
XmlLanguage
fragment from a File.XmlException
IOException
public static XmlLanguage parse(File f, XmlOptions options) throws XmlException, IOException
XmlLanguage
fragment from a File.XmlException
IOException
public static XmlLanguage parse(URL u) throws XmlException, IOException
XmlLanguage
fragment from a URL.XmlException
IOException
public static XmlLanguage parse(URL u, XmlOptions options) throws XmlException, IOException
XmlLanguage
fragment from a URL.XmlException
IOException
public static XmlLanguage parse(InputStream is) throws XmlException, IOException
XmlLanguage
fragment from an InputStream.XmlException
IOException
public static XmlLanguage parse(InputStream is, XmlOptions options) throws XmlException, IOException
XmlLanguage
fragment from an InputStream.XmlException
IOException
public static XmlLanguage parse(Reader r) throws XmlException, IOException
XmlLanguage
fragment from a Reader.XmlException
IOException
public static XmlLanguage parse(Reader r, XmlOptions options) throws XmlException, IOException
XmlLanguage
fragment from a Reader.XmlException
IOException
public static XmlLanguage parse(Node node) throws XmlException
XmlLanguage
fragment from a DOM Node.XmlException
public static XmlLanguage parse(Node node, XmlOptions options) throws XmlException
XmlLanguage
fragment from a DOM Node.XmlException
public static XmlLanguage parse(XMLInputStream xis) throws XmlException, XMLStreamException
XmlLanguage
fragment from an XMLInputStream.XmlException
XMLStreamException
public static XmlLanguage parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
XmlLanguage
fragment from an XMLInputStream.XmlException
XMLStreamException
public static XmlLanguage parse(XMLStreamReader xsr) throws XmlException
XmlLanguage
fragment from an XMLStreamReader.XmlException
public static XmlLanguage parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
XmlLanguage
fragment from an XMLStreamReader.XmlException
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis) throws XmlException, XMLStreamException
XmlException
XMLStreamException
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
XmlException
XMLStreamException
Copyright © 2010 - 2020 Adobe. All Rights Reserved