Package org.oasisOpen.docs.wsrf.sg2
Class ContentType.Factory
- java.lang.Object
-
- org.oasisOpen.docs.wsrf.sg2.ContentType.Factory
-
- Enclosing interface:
- ContentType
public static final class ContentType.Factory extends Object
A factory class with static methods for creating instances of this type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentTypenewInstance()static ContentTypenewInstance(org.apache.xmlbeans.XmlOptions options)static org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic ContentTypeparse(File file)static ContentTypeparse(File file, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(InputStream is)static ContentTypeparse(InputStream is, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(Reader r)static ContentTypeparse(Reader r, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(String xmlAsString)static ContentTypeparse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(URL u)static ContentTypeparse(URL u, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(XMLStreamReader sr)static ContentTypeparse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options)static ContentTypeparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic ContentTypeparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)Deprecated.XMLInputStreamstatic ContentTypeparse(Node node)static ContentTypeparse(Node node, org.apache.xmlbeans.XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static ContentType newInstance()
-
newInstance
public static ContentType newInstance(org.apache.xmlbeans.XmlOptions options)
-
parse
public static ContentType parse(String xmlAsString) throws org.apache.xmlbeans.XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(File file) throws org.apache.xmlbeans.XmlException, IOException
- Parameters:
file- the file from which to load an xml document- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(URL u) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(InputStream is) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(Reader r) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, IOException
- Throws:
org.apache.xmlbeans.XmlExceptionIOException
-
parse
public static ContentType parse(XMLStreamReader sr) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(Node node) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException
- Throws:
org.apache.xmlbeans.XmlException
-
parse
public static ContentType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
parse
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
Deprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
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.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
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.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
org.apache.xmlbeans.XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
-