|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensaml.SAMLObject
org.opensaml.SAMLCondition
public abstract class SAMLCondition
Abstract base class for all SAML conditions
| Field Summary | |
|---|---|
protected static Hashtable |
conditionTypeMap
Maps SAML condition types (as XML QNames) to Java class implementations |
| Fields inherited from class org.opensaml.SAMLObject |
|---|
config, dirty, log, parentObject, root |
| Constructor Summary | |
|---|---|
SAMLCondition()
|
|
| Method Summary | |
|---|---|
static SAMLCondition |
getInstance(Element e)
Locates an implementation class for a condition and constructs it based on the DOM provided. |
static SAMLCondition |
getInstance(InputStream in)
Locates an implementation class for a condition and constructs it based on the stream provided. |
static void |
regFactory(javax.xml.namespace.QName type,
String className)
Registers a class to handle a specific SAML condition type when parsing XML |
static void |
unregFactory(javax.xml.namespace.QName type)
Unregisters a class to handle a specific SAML condition type when parsing XML |
| Methods inherited from class org.opensaml.SAMLObject |
|---|
buildRoot, checkValidity, clone, fromDOM, fromStream, fromStream, getParent, plantRoot, setDirty, setParent, toBase64, toDOM, toDOM, toDOM, toDOM, toStream, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static Hashtable conditionTypeMap
| Constructor Detail |
|---|
public SAMLCondition()
| Method Detail |
|---|
public static void regFactory(javax.xml.namespace.QName type,
String className)
type - The condition type or element nameclassName - The Java class that handles this conditionpublic static void unregFactory(javax.xml.namespace.QName type)
type - The condition type or element name
public static SAMLCondition getInstance(Element e)
throws SAMLException
e - The root of a DOM containing the SAML condition
SAMLException - Thrown if an error occurs while constructing the object
public static SAMLCondition getInstance(InputStream in)
throws SAMLException
in - The stream to deserialize from
SAMLException - Thrown if an error occurs while constructing the object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||