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