Package ndg :: Package xacml :: Package core :: Module attributedesignator :: Class AttributeDesignator
[hide private]

Class AttributeDesignator

source code

       object --+        
                |        
    XacmlCoreBase --+    
                    |    
expression.Expression --+
                        |
                       AttributeDesignator
Known Subclasses:

Base class for XACML Attribute Designator types

Nested Classes [hide private]

Inherited from expression.Expression: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Initialise attributes
source code

Inherited from expression.Expression: __getstate__, evaluate

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]
string ATTRIBUTE_ID_ATTRIB_NAME = 'AttributeId'
attribute ID XML attribute name
string ISSUER_ATTRIB_NAME = 'Issuer'
issuer XML attribute name
string MUST_BE_PRESENT_ATTRIB_NAME = 'MustBePresent'
must be present XML attribute name

Inherited from expression.Expression: DATA_TYPE_ATTRIB_NAME, ELEMENT_LOCAL_NAME, __abstractmethods__

Inherited from XacmlCoreBase: XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Instance Variables [hide private]
basestring / NoneType __attributeId
attribute ID for this designator
ndg.xacml.core.attributevalue.AttributeValueClassFactory __attributeValueFactory
When evaluating matches, use an attribute value class factory to create attribute values for match bag of the correct DataType to respect type based rule functions
basestring / NoneType __issuer
issuer if the designator
bool __mustBePresent
XML must be present flag
Properties [hide private]
basestring / NoneType attributeId
Get Attribute Id
basestring / NoneType issuer
Get Issuer
bool mustBePresent
Get Must Be Present flag
ndg.xacml.core.attributevalue.AttributeValueClassFactory attributeValueFactory
Get Attribute Value factory function

Inherited from expression.Expression: dataType

Inherited from XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise attributes

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

Property Details [hide private]

attributeId

Get Attribute Id

Get Method:
unreachable.attributeId(self) - Get Attribute Id
Set Method:
unreachable.attributeId(self, value) - Set Attribute Id
Type:
basestring / NoneType

issuer

Get Issuer

Get Method:
unreachable.issuer(self) - Get Issuer
Set Method:
unreachable.issuer(self, value) - Set Issuer
Type:
basestring / NoneType

mustBePresent

Get Must Be Present flag

Get Method:
unreachable.mustBePresent(self) - Get Must Be Present flag
Set Method:
unreachable.mustBePresent(self, value) - Set Must Be Present flag
Type:
bool

attributeValueFactory

Get Attribute Value factory function

Get Method:
unreachable.attributeValueFactory(self) - Get Attribute Value factory function
Type:
ndg.xacml.core.attributevalue.AttributeValueClassFactory