Class SecurityDocument.Factory
- java.lang.Object
-
- org.oasisOpen.docs.wss.x2004.x01.oasis200401WssWssecuritySecext10.SecurityDocument.Factory
-
- Enclosing interface:
- SecurityDocument
public static final class SecurityDocument.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 SecurityDocumentnewInstance()static SecurityDocumentnewInstance(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, XmlOptions options)Deprecated.XMLInputStreamstatic SecurityDocumentparse(File file)static SecurityDocumentparse(File file, XmlOptions options)static SecurityDocumentparse(InputStream is)static SecurityDocumentparse(InputStream is, XmlOptions options)static SecurityDocumentparse(Reader r)static SecurityDocumentparse(Reader r, XmlOptions options)static SecurityDocumentparse(String xmlAsString)static SecurityDocumentparse(String xmlAsString, XmlOptions options)static SecurityDocumentparse(URL u)static SecurityDocumentparse(URL u, XmlOptions options)static SecurityDocumentparse(XMLStreamReader sr)static SecurityDocumentparse(XMLStreamReader sr, XmlOptions options)static SecurityDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic SecurityDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStreamstatic SecurityDocumentparse(Node node)static SecurityDocumentparse(Node node, XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static SecurityDocument newInstance()
-
newInstance
public static SecurityDocument newInstance(XmlOptions options)
-
parse
public static SecurityDocument parse(String xmlAsString) throws XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
XmlException
-
parse
public static SecurityDocument parse(String xmlAsString, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static SecurityDocument parse(File file) throws XmlException, IOException
- Parameters:
file- the file from which to load an xml document- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(File file, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(URL u) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(URL u, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(InputStream is) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(InputStream is, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(Reader r) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(Reader r, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static SecurityDocument parse(XMLStreamReader sr) throws XmlException
- Throws:
XmlException
-
parse
public static SecurityDocument parse(XMLStreamReader sr, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static SecurityDocument parse(Node node) throws XmlException
- Throws:
XmlException
-
parse
public static SecurityDocument parse(Node node, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static SecurityDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated.XMLInputStream- Throws:
XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
parse
public static SecurityDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated.XMLInputStream- Throws:
XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
newValidatingXMLInputStream
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.XMLStreamExceptionDeprecated.XMLInputStream- Throws:
XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
-