| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--com.sun.identity.saml.protocol.Query
        |
        +--com.sun.identity.saml.protocol.SubjectQuery
              |
              +--com.sun.identity.saml.protocol.AttributeQuery
This concrete class extends from the abstract base class
 SubjectQuery.
 It represents the query for an attribute assertion. It corresponds
 to the samlp:AttributeQueryType in the SAML protocol schema.
| Fields inherited from class com.sun.identity.saml.protocol.Query | 
| ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY | 
| Constructor Summary | |
| AttributeQuery(org.w3c.dom.Element element)This constructor is used to build an Attribute Query from a DOM tree that was built from the XML string. | |
| AttributeQuery(Subject theSubject)Constructor to construct an AttributeQuerywith 0AttributeDesignator, and no Resource attribute. | |
| AttributeQuery(Subject theSubject,
               java.util.List designators)Constructor to construct an AttributeQuerywith a list ofAttributeDesignators. | |
| AttributeQuery(Subject theSubject,
               java.util.List designators,
               java.lang.String theResource)Constructor. | |
| Method Summary | |
|  java.util.List | getAttributeDesignator()Returns the AttributeDesignators. | 
|  int | getQueryType()Gets the type of the query. | 
|  java.lang.String | getResource()Gets the Resource. | 
|  java.lang.String | toString()Translates the AttributeQueryto an XML document
 String based on theAttributeQueryschema. | 
|  java.lang.String | toString(boolean includeNS,
         boolean declareNS)Create a String representation of the samlp:AttributeQueryelement. | 
| Methods inherited from class com.sun.identity.saml.protocol.SubjectQuery | 
| getSubject | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public AttributeQuery(org.w3c.dom.Element element)
               throws SAMLException
element - the DOM tree element which contains an Attribute Query.SAMLException -  
public AttributeQuery(Subject theSubject,
                      java.util.List designators,
                      java.lang.String theResource)
               throws SAMLException
theSubject - Subject of this query.designators - List of AttributeDesignators of this
        query.theResource - the Resource attribute of this query in String format.SAMLException -  
public AttributeQuery(Subject theSubject,
                      java.util.List designators)
               throws SAMLException
AttributeQuery with a list of 
 AttributeDesignators.theSubject - Subject of this query.designators - List of AttributeDesignators of this
        query.SAMLException -  
public AttributeQuery(Subject theSubject)
               throws SAMLException
AttributeQuery with 0
 AttributeDesignator, and no Resource attribute.theSubject - Subject of this query.SAMLException -  | Method Detail | 
public java.lang.String getResource()
public java.util.List getAttributeDesignator()
AttributeDesignators.AttributeDesignators(s) associated with this
         query. It could contain 0 or more
         AttributeDesignators.public int getQueryType()
getQueryType in class Querypublic java.lang.String toString()
AttributeQuery to an XML document
 String based on the AttributeQuery schema.toString in class java.lang.ObjectAttributeQuery.
public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
samlp:AttributeQuery
 element.toString in class QueryincludeNS - Determines whether or not the namespace qualifier
 	      is prepended to the Element when converted.declareNS - Determines whether or not the namespace is declared
	      within the Element.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||