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