Class StylesDocument.Factory
- java.lang.Object
-
- org.openxmlformats.schemas.wordprocessingml.x2006.main.StylesDocument.Factory
-
- Enclosing interface:
- StylesDocument
public static final class StylesDocument.Factory extends java.lang.ObjectA 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 StylesDocumentnewInstance()static StylesDocumentnewInstance(XmlOptions options)static XMLInputStreamnewValidatingXMLInputStream(XMLInputStream xis)Deprecated.static XMLInputStreamnewValidatingXMLInputStream(XMLInputStream xis, XmlOptions options)Deprecated.static StylesDocumentparse(java.io.File file)static StylesDocumentparse(java.io.File file, XmlOptions options)static StylesDocumentparse(java.io.InputStream is)static StylesDocumentparse(java.io.InputStream is, XmlOptions options)static StylesDocumentparse(java.io.Reader r)static StylesDocumentparse(java.io.Reader r, XmlOptions options)static StylesDocumentparse(java.lang.String xmlAsString)static StylesDocumentparse(java.lang.String xmlAsString, XmlOptions options)static StylesDocumentparse(java.net.URL u)static StylesDocumentparse(java.net.URL u, XmlOptions options)static StylesDocumentparse(javax.xml.stream.XMLStreamReader sr)static StylesDocumentparse(javax.xml.stream.XMLStreamReader sr, XmlOptions options)static StylesDocumentparse(XMLInputStream xis)Deprecated.static StylesDocumentparse(XMLInputStream xis, XmlOptions options)Deprecated.static StylesDocumentparse(org.w3c.dom.Node node)static StylesDocumentparse(org.w3c.dom.Node node, XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static StylesDocument newInstance()
-
newInstance
public static StylesDocument newInstance(XmlOptions options)
-
parse
public static StylesDocument parse(java.lang.String xmlAsString) throws XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
XmlException
-
parse
public static StylesDocument parse(java.lang.String xmlAsString, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static StylesDocument parse(java.io.File file) throws XmlException, java.io.IOException
- Parameters:
file- the file from which to load an xml document- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.io.File file, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.net.URL u) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.net.URL u, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.io.InputStream is) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.io.InputStream is, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.io.Reader r) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlExceptionjava.io.IOException
-
parse
public static StylesDocument parse(javax.xml.stream.XMLStreamReader sr) throws XmlException
- Throws:
XmlException
-
parse
public static StylesDocument parse(javax.xml.stream.XMLStreamReader sr, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static StylesDocument parse(org.w3c.dom.Node node) throws XmlException
- Throws:
XmlException
-
parse
public static StylesDocument parse(org.w3c.dom.Node node, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
@Deprecated public static StylesDocument parse(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.- Throws:
XmlExceptionXMLStreamException
-
parse
@Deprecated public static StylesDocument parse(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.- Throws:
XmlExceptionXMLStreamException
-
newValidatingXMLInputStream
@Deprecated public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis) throws XmlException, XMLStreamException
Deprecated.- Throws:
XmlExceptionXMLStreamException
-
newValidatingXMLInputStream
@Deprecated public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.- Throws:
XmlExceptionXMLStreamException
-
-