|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.SAMLObject
org.opensaml.SAMLQuery
Abstract base class for all SAML queries
Field Summary | |
protected static java.util.Hashtable |
queryTypeMap
Maps SAML query types (as XML QNames) to Java class implementations |
Fields inherited from class org.opensaml.SAMLObject |
config, log, root |
Constructor Summary | |
SAMLQuery()
|
Method Summary | |
static SAMLQuery |
getInstance(org.w3c.dom.Element e)
Locates an implementation class for a query and constructs it based on the DOM provided. |
static SAMLQuery |
getInstance(java.io.InputStream in)
Locates an implementation class for a query and constructs it based on the stream provided. |
static void |
regFactory(QName type,
java.lang.String className)
Registers a class to handle a specific SAML query type when parsing XML |
static void |
unregFactory(QName type)
Unregisters a class to handle a specific SAML query type when parsing XML |
Methods inherited from class org.opensaml.SAMLObject |
checkValidity, clone, fromDOM, fromStream, plantRoot, 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 queryTypeMap
Constructor Detail |
public SAMLQuery()
Method Detail |
public static void regFactory(QName type, java.lang.String className)
type
- The query type or element nameclassName
- The Java class that handles this querypublic static void unregFactory(QName type)
type
- The query type or element namepublic static SAMLQuery getInstance(org.w3c.dom.Element e) throws SAMLException
e
- The root of a DOM containing the SAML query
SAMLException
- Thrown if an error occurs while constructing the objectpublic static SAMLQuery 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 |