|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.XmlLanguage.Factory
public static final class XmlLanguage.Factory
A class with methods for creating instances
of XmlLanguage
.
Method Summary | |
---|---|
static XmlLanguage |
newInstance()
Creates an empty instance of XmlLanguage |
static XmlLanguage |
newInstance(XmlOptions options)
Creates an empty instance of XmlLanguage |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API. |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.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(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API. |
static XmlLanguage |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
XmlOptions options)
Deprecated. XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XmlLanguage newInstance()
XmlLanguage
public static XmlLanguage newInstance(XmlOptions options)
XmlLanguage
public static XmlLanguage newValue(Object obj)
XmlLanguage
value
public 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(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XmlLanguage
fragment from an XMLInputStream.
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static XmlLanguage parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XmlLanguage
fragment from an XMLInputStream.
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |