Class AudienceRestrictionDocument.Factory
- java.lang.Object
-
- org.sourceid.saml20.xmlbinding.assertion.AudienceRestrictionDocument.Factory
-
- Enclosing interface:
- AudienceRestrictionDocument
public static final class AudienceRestrictionDocument.Factory extends Object
A factory class with static methods for creating instances of this type.
-
-
Method Summary
-
-
-
Method Detail
-
newInstance
public static AudienceRestrictionDocument newInstance()
-
newInstance
public static AudienceRestrictionDocument newInstance(XmlOptions options)
-
parse
public static AudienceRestrictionDocument parse(String xmlAsString) throws XmlException
- Parameters:
xmlAsString- the string value to parse- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument parse(String xmlAsString, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument parse(File file) throws XmlException, IOException
- Parameters:
file- the file from which to load an xml document- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(File file, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(URL u) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(URL u, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(InputStream is) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(InputStream is, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(Reader r) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(Reader r, XmlOptions options) throws XmlException, IOException
- Throws:
XmlExceptionIOException
-
parse
public static AudienceRestrictionDocument parse(XMLStreamReader sr) throws XmlException
- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument parse(XMLStreamReader sr, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument parse(Node node) throws XmlException
- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument parse(Node node, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parse
public static AudienceRestrictionDocument 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 AudienceRestrictionDocument 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
-
-