Class StatusDocument.Factory
- java.lang.Object
-
- org.sourceid.saml20.xmlbinding.protocol.StatusDocument.Factory
-
- Enclosing interface:
- StatusDocument
public static final class StatusDocument.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 StatusDocumentnewInstance()static StatusDocumentnewInstance(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 StatusDocumentparse(File file)static StatusDocumentparse(File file, XmlOptions options)static StatusDocumentparse(InputStream is)static StatusDocumentparse(InputStream is, XmlOptions options)static StatusDocumentparse(Reader r)static StatusDocumentparse(Reader r, XmlOptions options)static StatusDocumentparse(String xmlAsString)static StatusDocumentparse(String xmlAsString, XmlOptions options)static StatusDocumentparse(URL u)static StatusDocumentparse(URL u, XmlOptions options)static StatusDocumentparse(XMLStreamReader sr)static StatusDocumentparse(XMLStreamReader sr, XmlOptions options)static StatusDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)Deprecated.XMLInputStreamstatic StatusDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)Deprecated.XMLInputStreamstatic StatusDocumentparse(Node node)static StatusDocumentparse(Node node, XmlOptions options)
-
-
-
Method Detail
-
newInstance
public static StatusDocument newInstance()
-
newInstance
public static StatusDocument newInstance(XmlOptions options)
-
parse
public static StatusDocument parse(String xmlAsString) throws XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
XmlException
-
parse
public static StatusDocument parse(String xmlAsString, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static StatusDocument parse(File file) throws XmlException, IOException
- Parameters:
file- the file from which to load an xml document- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(File file, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(URL u) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(URL u, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(InputStream is) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(InputStream is, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(Reader r) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(Reader r, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static StatusDocument parse(XMLStreamReader sr) throws XmlException
- Throws:
XmlException
-
parse
public static StatusDocument parse(XMLStreamReader sr, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static StatusDocument parse(Node node) throws XmlException
- Throws:
XmlException
-
parse
public static StatusDocument parse(Node node, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static StatusDocument 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 StatusDocument 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
-
-