public static final class ContentType.Factory extends Object
Modifier and Type | Method and Description |
---|---|
static ContentType |
newInstance() |
static ContentType |
newInstance(org.apache.xmlbeans.XmlOptions options) |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated.
XMLInputStream |
static org.apache.xmlbeans.xml.stream.XMLInputStream |
newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
org.apache.xmlbeans.XmlOptions options)
Deprecated.
XMLInputStream |
static ContentType |
parse(File file) |
static ContentType |
parse(File file,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(InputStream is) |
static ContentType |
parse(InputStream is,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(Node node) |
static ContentType |
parse(Node node,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(Reader r) |
static ContentType |
parse(Reader r,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(String xmlAsString) |
static ContentType |
parse(String xmlAsString,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(URL u) |
static ContentType |
parse(URL u,
org.apache.xmlbeans.XmlOptions options) |
static ContentType |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
Deprecated.
XMLInputStream |
static ContentType |
parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
org.apache.xmlbeans.XmlOptions options)
Deprecated.
XMLInputStream |
static ContentType |
parse(XMLStreamReader sr) |
static ContentType |
parse(XMLStreamReader sr,
org.apache.xmlbeans.XmlOptions options) |
public static ContentType newInstance()
public static ContentType newInstance(org.apache.xmlbeans.XmlOptions options)
public static ContentType parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
xmlAsString
- the string value to parseorg.apache.xmlbeans.XmlException
public static ContentType parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static ContentType parse(File file) throws org.apache.xmlbeans.XmlException, IOException
file
- the file from which to load an xml documentorg.apache.xmlbeans.XmlException
IOException
public static ContentType parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public static ContentType parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static ContentType parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static ContentType parse(Node node) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static ContentType parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static ContentType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
org.apache.xmlbeans.XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static ContentType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
org.apache.xmlbeans.XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
org.apache.xmlbeans.XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
org.apache.xmlbeans.XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException
Copyright © 2019. All Rights Reserved.