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 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(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(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