Class ArtifactDocument.Factory
java.lang.Object
org.sourceid.saml20.xmlbinding.protocol.ArtifactDocument.Factory
- Enclosing interface:
- ArtifactDocument
A factory class with static methods for creating instances
of this type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactDocumentstatic ArtifactDocumentnewInstance(XmlOptions options) static org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) Deprecated.static org.apache.xmlbeans.xml.stream.XMLInputStreamnewValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) Deprecated.XMLInputStreamstatic ArtifactDocumentstatic ArtifactDocumentparse(File file, XmlOptions options) static ArtifactDocumentparse(InputStream is) static ArtifactDocumentparse(InputStream is, XmlOptions options) static ArtifactDocumentstatic ArtifactDocumentparse(Reader r, XmlOptions options) static ArtifactDocumentstatic ArtifactDocumentparse(String xmlAsString, XmlOptions options) static ArtifactDocumentstatic ArtifactDocumentparse(URL u, XmlOptions options) static ArtifactDocumentparse(XMLStreamReader sr) static ArtifactDocumentparse(XMLStreamReader sr, XmlOptions options) static ArtifactDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) Deprecated.XMLInputStreamstatic ArtifactDocumentparse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) Deprecated.XMLInputStreamstatic ArtifactDocumentstatic ArtifactDocumentparse(Node node, XmlOptions options)
-
Method Details
-
newInstance
-
newInstance
-
parse
- Parameters:
xmlAsString- the string value to parse- Throws:
XmlException
-
parse
- Throws:
XmlException
-
parse
- Parameters:
file- the file from which to load an xml document- Throws:
XmlExceptionIOException
-
parse
public static ArtifactDocument parse(File file, XmlOptions options) throws XmlException, IOException - Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlExceptionIOException
-
parse
public static ArtifactDocument parse(InputStream is, XmlOptions options) throws XmlException, IOException - Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlExceptionIOException
-
parse
- Throws:
XmlException
-
parse
- Throws:
XmlException
-
parse
- Throws:
XmlException
-
parse
- Throws:
XmlException
-
parse
public static ArtifactDocument 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 ArtifactDocument 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.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, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException Deprecated.XMLInputStream- Throws:
XmlExceptionorg.apache.xmlbeans.xml.stream.XMLStreamException
-
XMLInputStream