|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.opensaml.SAMLObject
gov.nih.nci.cagrid.opensaml.SAMLStatement
public abstract class SAMLStatement
Abstract base class for all SAML statements
| Field Summary | |
|---|---|
protected static java.util.Hashtable |
statementTypeMap
Maps SAML statement types (as XML QNames) to Java class implementations |
| Fields inherited from class gov.nih.nci.cagrid.opensaml.SAMLObject |
|---|
config, dirty, log, parentObject, root |
| Constructor Summary | |
|---|---|
SAMLStatement()
|
|
| Method Summary | |
|---|---|
static SAMLStatement |
getInstance(org.w3c.dom.Element e)
Locates an implementation class for a statement and constructs it based on the DOM provided. |
static SAMLStatement |
getInstance(java.io.InputStream in)
Locates an implementation class for a statement and constructs it based on the stream provided. |
static void |
regFactory(javax.xml.namespace.QName type,
java.lang.String className)
Registers a class to handle a specific SAML statement type when parsing XML |
static void |
unregFactory(javax.xml.namespace.QName type)
Unregisters a class to handle a specific SAML statement type when parsing XML |
| Methods inherited from class gov.nih.nci.cagrid.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 java.util.Hashtable statementTypeMap
| Constructor Detail |
|---|
public SAMLStatement()
| Method Detail |
|---|
public static void regFactory(javax.xml.namespace.QName type,
java.lang.String className)
type - The statement type or element nameclassName - The Java class that handles this querypublic static void unregFactory(javax.xml.namespace.QName type)
type - The statement type or element name
public static SAMLStatement getInstance(org.w3c.dom.Element e)
throws SAMLException
e - The root of a DOM containing the SAML statement
SAMLException - Thrown if an error occurs while constructing the object
public static SAMLStatement getInstance(java.io.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 | ||||||||