com.sun.identity.saml.assertion
Class Statement

java.lang.Object
  |
  +--com.sun.identity.saml.assertion.Statement
Direct Known Subclasses:
SubjectStatement

public abstract class Statement
extends java.lang.Object

The element is an extension point that allows other assertion-based applications to reuse the SAML assertion framework. Its StatementAbstractType complex type is abstract; extension elements must use xsi:type attribute to indicate the derived type.


Field Summary
static int ATTRIBUTE_STATEMENT
           
static int AUTHENTICATION_STATEMENT
           
static int AUTHORIZATION_DECISION_STATEMENT
           
static int NOT_SUPPORTED
           
 
Method Summary
abstract  int getStatementType()
          This method returns the real of statement such as AuthenticationStatemen, AuthorizationDecisionStatement or AttributeStatement.
abstract  java.lang.String toString(boolean includeNS, boolean declareNS)
          Create a String representation of the Statement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_SUPPORTED

public static final int NOT_SUPPORTED

AUTHENTICATION_STATEMENT

public static final int AUTHENTICATION_STATEMENT

AUTHORIZATION_DECISION_STATEMENT

public static final int AUTHORIZATION_DECISION_STATEMENT

ATTRIBUTE_STATEMENT

public static final int ATTRIBUTE_STATEMENT
Method Detail

getStatementType

public abstract int getStatementType()
This method returns the real of statement such as AuthenticationStatemen, AuthorizationDecisionStatement or AttributeStatement.
Returns:
An integer representing the real type of Statement

toString

public abstract java.lang.String toString(boolean includeNS,
                                          boolean declareNS)
Create a String representation of the Statement
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 representation of the element