com.sun.identity.saml.assertion
クラス Condition

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Condition
直系の既知のサブクラス:
AudienceRestrictionCondition, DoNotCacheCondition

public abstract class Condition
extends Object

This is an abstract class which servers as an extension point for new conditions. This is one of the element within the Conditions object. Extension elements based on this class MUST use xsi:type attribute to indicate the derived type.


フィールドの概要
static int INDETERMINATE
          The Condition is indeterminate.
static int INVALID
          The Condition is invalid.
static int VALID
          The Condition is valid.
 
コンストラクタの概要
Condition()
           
 
メソッドの概要
abstract  int evaluate()
          Evaluates this condition An abstract method which can be implemented by any condition extending this Condition object, to provide means of evaluating the condition.
abstract  String toString(boolean IncludeNS, boolean DeclareNS)
          Returns a String representation of the <saml:Conditions> element.
 

フィールドの詳細

INVALID

public static int INVALID
The Condition is invalid.


INDETERMINATE

public static int INDETERMINATE
The Condition is indeterminate.


VALID

public static int VALID
The Condition is valid.

コンストラクタの詳細

Condition

public Condition()
メソッドの詳細

toString

public abstract String toString(boolean IncludeNS,
                                boolean DeclareNS)
Returns a String representation of the <saml:Conditions> element.

パラメータ:
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.
戻り値:
A string containing the valid XML for this element

evaluate

public abstract int evaluate()
Evaluates this condition An abstract method which can be implemented by any condition extending this Condition object, to provide means of evaluating the condition.

戻り値:
evaluation state.