Package ndg :: Package xacml :: Package core :: Class TargetChildBase
[hide private]

Class TargetChildBase

source code

   object --+        
            |        
XacmlCoreBase --+    
                |    
  XacmlPolicyBase --+
                    |
                   TargetChildBase
Known Subclasses:

Abstract Base class for XACML Policy Subject, Resource, Action and Environment types: e.g. ndg.xacml.core.subject.Subject

Instance Methods [hide private]
 
__init__(self)
Initialise parent class xmlns attribute based on this classes' policy namespace
source code

Inherited from XacmlCoreBase: __getstate__

Inherited from XacmlCoreBase (private): _getXmlns, _setXmlns

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

Class Variables [hide private]
NoneType - derived class must implement MATCH_TYPE = None
Set the type for match attributes in the derived class implementation e.g.

Inherited from XacmlPolicyBase: XACML_2_0_POLICY_NS

Inherited from XacmlCoreBase: ELEMENT_LOCAL_NAME, XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Instance Variables [hide private]
ndg.xacml.core.utils.TypedList __matches
list of matches for this target
Properties [hide private]
  matches
Get matches list for this target

Inherited from XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise parent class xmlns attribute based on this classes' policy namespace

Raises:
  • NotImplementedError - derived classes must set ELEMENT_LOCAL_NAME to a string
Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

MATCH_TYPE

Set the type for match attributes in the derived class implementation e.g. ResourceMatch, SubjectMatch etc.
Type:
NoneType - derived class must implement
Value:
None

Property Details [hide private]

matches

Get matches list for this target

Get Method:
unreachable.matches(self) - Get matches list for this target