Ignore:
Timestamp:
28/10/10 16:39:24 (10 years ago)
Author:
pjkersha
Message:

Modified apply and match classes to use a FunctionMap? class singleton to enable easy addition of new function types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/ndg_xacml/ndg/xacml/core/apply.py

    r7365 r7668  
    1212from ndg.xacml.utils import TypedList 
    1313from ndg.xacml.core.expression import Expression 
    14 from ndg.xacml.core.functions import (FunctionMap, UnsupportedStdFunctionError, 
     14from ndg.xacml.core.functions import (FunctionMap, functionMap, 
     15                                      UnsupportedStdFunctionError, 
    1516                                      UnsupportedFunctionError) 
    1617 
     
    5354        self.__functionId = None 
    5455        self.__function = None 
    55         self.__functionMap = FunctionMap() 
     56        self.__functionMap = functionMap 
    5657        self.__loadFunctionFromId = True 
    5758        self.__expressions = TypedList(Expression) 
Note: See TracChangeset for help on using the changeset viewer.