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