com.sun.identity.saml.assertion
Class Condition

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

public abstract class Condition
extends java.lang.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.


Field Summary
static int INDETERMINATE
           
static int INVALID
           
static int VALID
           
 
Constructor Summary
Condition()
           
 
Method Summary
abstract  int evaluate()
          An abstract method which can be implemenetd by any condition extending this Condition object, to provide means of evaluating the condition.
abstract  java.lang.String toString(boolean IncludeNS, boolean DeclareNS)
          Create a String representation of the element
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID

public static int INVALID

INDETERMINATE

public static int INDETERMINATE

VALID

public static int VALID
Constructor Detail

Condition

public Condition()
Method Detail

toString

public abstract java.lang.String toString(boolean IncludeNS,
                                          boolean DeclareNS)
Create 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

evaluate

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