Ignore:
Timestamp:
01/11/10 16:30:22 (10 years ago)
Author:
pjkersha
Message:

Working and tested version with functionality for adding custom attribute value types and functions.

File:
1 edited

Legend:

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

    r7668 r7682  
    611611        @type functionNs: basestring 
    612612        """ 
     613        # Try map for custom function class 
     614        if functionNs in self: 
     615            return self[functionNs] 
     616         
     617        # else try the class factory - there is one factory per family of  
     618        # functions e.g. bag functions, at least one member of functions etc. 
    613619        functionFactory = self.__classFactoryMap.get(functionNs) 
    614620        if functionFactory is not None: 
Note: See TracChangeset for help on using the changeset viewer.