/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: Condition.java,v 1.2 2008/06/25 05:47:32 qcheng Exp $
*
*/
/**
*This is an abstract class which servers as an extension point for new
*conditions. This is one of the element within the <code>Conditions</code>
*object. Extension elements based on this class MUST use xsi:type attribute
*to indicate the derived type.
*
*@supported.all.api
*/
public abstract class Condition {
/**
* The Condition is invalid.
*/
/**
* The Condition is indeterminate.
*/
/**
* The Condition is valid.
*/
/**
* Returns a String representation of the
* <code><saml:Conditions></code> element.
*
* @param IncludeNS Determines whether or not the namespace qualifier is
* prepended to the Element when converted
* @param DeclareNS Determines whether or not the namespace is declared
* within the Element.
* @return A string containing the valid XML for this element
*/
/**
* Evaluates this condition
* An abstract method which can be implemented by any condition extending
* this Condition object, to provide means of evaluating the condition.
*
* @return evaluation state.
*/
public abstract int evaluate() ;
}