Package 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 Object
TheStatementelement is an extension point that allows other assertion-based applications to reuse the SAML assertion framework. ItsStatementAbstractTypecomplex type is abstract; extension elements must usexsi:typeattribute to indicate the derived type.
-
-
Field Summary
Fields Modifier and Type Field Description static intATTRIBUTE_STATEMENTThe Statement is an Attribute Statement.static intAUTHENTICATION_STATEMENTThe Statement is an Authentication Statement.static intAUTHORIZATION_DECISION_STATEMENTThe Statement is an Authorization Decision Statement.static intNOT_SUPPORTEDThe Statement is not supported.
-
Constructor Summary
Constructors Modifier Constructor Description protectedStatement()Default constructor of the statement
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intgetStatementType()Returns the real of statement such asAuthenticationStatement,AuthorizationDecisionStatementorAttributeStatement.abstract StringtoString(boolean includeNS, boolean declareNS)Creates a String representation of the Statement
-
-
-
Field Detail
-
NOT_SUPPORTED
public static final int NOT_SUPPORTED
The Statement is not supported.- See Also:
- Constant Field Values
-
AUTHENTICATION_STATEMENT
public static final int AUTHENTICATION_STATEMENT
The Statement is an Authentication Statement.- See Also:
- Constant Field Values
-
AUTHORIZATION_DECISION_STATEMENT
public static final int AUTHORIZATION_DECISION_STATEMENT
The Statement is an Authorization Decision Statement.- See Also:
- Constant Field Values
-
ATTRIBUTE_STATEMENT
public static final int ATTRIBUTE_STATEMENT
The Statement is an Attribute Statement.- See Also:
- Constant Field Values
-
-
Method Detail
-
getStatementType
public abstract int getStatementType()
Returns the real of statement such asAuthenticationStatement,AuthorizationDecisionStatementorAttributeStatement.- Returns:
- real type of Statement.
-
toString
public abstract String toString(boolean includeNS, boolean declareNS)
Creates a String representation of the Statement- Parameters:
includeNS- : Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- : Determines whether or not the namespace is declared within the Element.- Returns:
- A String representation of the
Statementelement
-
-