Package ndg :: Package xacml :: Package core :: Package functions :: Package v1 :: Module match :: Class MatchBase
[hide private]

Class MatchBase

source code

      object --+    
               |    
AbstractFunction --+
                   |
                  MatchBase

Generic match function for all types

Nested Classes [hide private]

Inherited from AbstractFunction: __metaclass__

Instance Methods [hide private]
bool
evaluate(self, input1, input2)
Match two inputs of type self.__class__.TYPE
source code

Inherited from AbstractFunction: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
NoneType TYPE = None
attribute type for the given implementation.
  __abstractmethods__ = frozenset([])

Inherited from AbstractFunction: FUNCTION_NS, V1_0_FUNCTION_NS, V2_0_FUNCTION_NS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

evaluate(self, input1, input2)

source code 

Match two inputs of type self.__class__.TYPE

Parameters:
  • input1 (self.__class__.TYPE) - first of two inputs to match
  • input2 (self.__class__.TYPE) - second input
Returns: bool
True if inputs match, False otherwise
Overrides: AbstractFunction.evaluate

Class Variable Details [hide private]

TYPE

attribute type for the given implementation. Derived classes should set appropriately
Type:
NoneType
Value:
None