Package ndg :: Package xacml :: Package core :: Package functions :: Package v1 :: Module not :: Class Not
[hide private]

Class Not

source code

      object --+    
               |    
AbstractFunction --+
                   |
                  Not

Base class for XACML <type>-and functions

Nested Classes [hide private]
str ATTRIBUTE_TYPE
type for arguments

Inherited from AbstractFunction: __metaclass__

Instance Methods [hide private]
bool
evaluate(self, attribute=None)
perform not function on the element
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 (must be string in derived type) FUNCTION_NS = 'urn:oasis:names:tc:xacml:1.0:function:not'
namespace for the given function
  __abstractmethods__ = frozenset([])

Inherited from AbstractFunction: V1_0_FUNCTION_NS, V2_0_FUNCTION_NS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

evaluate(self, attribute=None)

source code 

perform not function on the element

access_control-xacml-2.0-core-spec-os, Fe 2005 - A.3.5 Logical functions

Parameters:
  • attribute (bool) - elements to be NOT'ed
Returns: bool
result of NOT operation on the inputs
Overrides: AbstractFunction.evaluate