Ignore:
Timestamp:
31/03/10 16:41:23 (10 years ago)
Author:
pjkersha
Message:

Made ndg.xacml.core.expression.Expression abstract: derived classes must implement the evaluate method used to evaluate a result in a rule condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDG_XACML/ndg/xacml/core/attributevalue.py

    r6748 r6792  
    3232        self.__value = value   
    3333 
    34     value = property(_get_value, _set_value, None, "expression value")     
     34    value = property(_get_value, _set_value, None, "expression value")  
     35     
     36    def evaluate(self, context): 
     37        """Evaluate the result of the expression in a condition 
     38        @param context: the request context 
     39        @type context: ndg.xacml.core.context.request.Request 
     40        @return: attribute value(s) resulting from execution of this expression 
     41        in a condition 
     42        @rtype: AttributeValue/NoneType   
     43        """  
     44        return self.__value 
Note: See TracChangeset for help on using the changeset viewer.