com.sun.identity.saml.protocol
Class Query

java.lang.Object
  |
  +--com.sun.identity.saml.protocol.Query
Direct Known Subclasses:
SubjectQuery

public abstract class Query
extends java.lang.Object

This is an abstract base class for SAML query. It corresponds to the <samlp:QueryAbstractType> in SAML protocol schema.


Field Summary
static int ATTRIBUTE_QUERY
           
static int AUTHENTICATION_QUERY
           
static int AUTHORIZATION_DECISION_QUERY
           
static int NOT_SUPPORTED_QUERY
           
 
Method Summary
abstract  int getQueryType()
          Returns the type of the Query such as AuthenticationQuery or AuthorizationDecisionQuery.
abstract  java.lang.String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of the element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_SUPPORTED_QUERY

public static final int NOT_SUPPORTED_QUERY

AUTHENTICATION_QUERY

public static final int AUTHENTICATION_QUERY

AUTHORIZATION_DECISION_QUERY

public static final int AUTHORIZATION_DECISION_QUERY

ATTRIBUTE_QUERY

public static final int ATTRIBUTE_QUERY
Method Detail

getQueryType

public abstract int getQueryType()
Returns the type of the Query such as AuthenticationQuery or AuthorizationDecisionQuery.
Returns:
An integer representing the type of Query.

toString

public abstract java.lang.String toString(boolean includeNS,
                                          boolean declareNS)
Creates a String representation of the element.
Parameters:
IncludeNS - : 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.
Returns:
A string containing the valid XML for this element