Object
A class with methods for creating instances
of XmlLanguage
.
Object
XmlLanguage.Factory
XmlLanguage
Method Summary |
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
public static |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static XmlLanguage
newInstance()
Creates an empty instance of XmlLanguage
public staticCreates an empty instance ofXmlLanguage
newInstance(XmlOptions
options)
XmlLanguage
DEPRECATED Superceded by JSR 173
public staticReturns a validating XMLInputStream.XMLInputStream
newValidatingXMLInputStream(XMLInputStream
xis)
throwsXmlException
,XMLStreamException
XmlException
XMLStreamException
DEPRECATED Superceded by JSR 173
public staticReturns a validating XMLInputStream.XMLInputStream
newValidatingXMLInputStream(XMLInputStream
xis,XmlOptions
options)
throwsXmlException
,XMLStreamException
XmlException
XMLStreamException
public staticCreates an immutableXmlLanguage
newValue(Object
obj)
XmlLanguage
value
public staticParses aXmlLanguage
parse(String
s)
throwsXmlException
XmlLanguage
fragment from a String. For example: "<xml-fragment>en-us</xml-fragment>
".
XmlException
public staticParses aXmlLanguage
parse(String
s,XmlOptions
options)
throwsXmlException
XmlLanguage
fragment from a String. For example: "<xml-fragment>en-us</xml-fragment>
".
XmlException
public staticParses aXmlLanguage
parse(File
f)
throwsXmlException
,IOException
XmlLanguage
fragment from a File.
XmlException
IOException
public staticParses aXmlLanguage
parse(File
f,XmlOptions
options)
throwsXmlException
,IOException
XmlLanguage
fragment from a File.
XmlException
IOException
public staticParses aXmlLanguage
parse(URL
u)
throwsXmlException
,IOException
XmlLanguage
fragment from a URL.
XmlException
IOException
public staticParses aXmlLanguage
parse(URL
u,XmlOptions
options)
throwsXmlException
,IOException
XmlLanguage
fragment from a URL.
XmlException
IOException
public staticParses aXmlLanguage
parse(InputStream
is)
throwsXmlException
,IOException
XmlLanguage
fragment from an InputStream.
XmlException
IOException
public staticParses aXmlLanguage
parse(InputStream
is,XmlOptions
options)
throwsXmlException
,IOException
XmlLanguage
fragment from an InputStream.
XmlException
IOException
public staticParses aXmlLanguage
parse(Reader
r)
throwsXmlException
,IOException
XmlLanguage
fragment from a Reader.
XmlException
IOException
public staticParses aXmlLanguage
parse(Reader
r,XmlOptions
options)
throwsXmlException
,IOException
XmlLanguage
fragment from a Reader.
XmlException
IOException
public staticParses aXmlLanguage
parse(Node
node)
throwsXmlException
XmlLanguage
fragment from a DOM Node.
XmlException
public staticParses aXmlLanguage
parse(Node
node,XmlOptions
options)
throwsXmlException
XmlLanguage
fragment from a DOM Node.
XmlException
DEPRECATED Superceded by JSR 173
public staticParses aXmlLanguage
parse(XMLInputStream
xis)
throwsXmlException
,XMLStreamException
XmlLanguage
fragment from an XMLInputStream.
XmlException
XMLStreamException
DEPRECATED Superceded by JSR 173
public staticParses aXmlLanguage
parse(XMLInputStream
xis,XmlOptions
options)
throwsXmlException
,XMLStreamException
XmlLanguage
fragment from an XMLInputStream.
XmlException
XMLStreamException