Package ndg :: Package xacml :: Package core :: Module policydefaults :: Class PolicyDefaults
[hide private]

Class PolicyDefaults

source code

   object --+    
            |    
XacmlCoreBase --+
                |
               PolicyDefaults

XACML PolicyDefaults type

Instance Methods [hide private]
 
__init__(self)
Initialise attributes
source code
basestring / NoneType
_get_xpathVersion(self)
Returns: XPath version
source code
 
_set_xpathVersion(self, value) 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 but implement as string in derived classes ELEMENT_LOCAL_NAME = 'PolicyDefaults'
XML element local name for the given type
string XPATH_VERSION_ELEMENT_NAME = 'XPathVersion'
XML local name for XPath version element

Inherited from XacmlCoreBase: XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Instance Variables [hide private]
basestring / NoneType __xpathVersion
XPath version
Properties [hide private]
  xpathVersion
PolicyDefaults type XPath version

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__

_get_xpathVersion(self)

source code 
Returns: basestring / NoneType
XPath version

_set_xpathVersion(self, value)

source code 
Parameters:
  • value (basestring / NoneType) - XPath version
Raises:
  • TypeError - incorrect input type

Property Details [hide private]

xpathVersion

PolicyDefaults type XPath version

Get Method:
_get_xpathVersion(self) - Returns: XPath version
Set Method:
_set_xpathVersion(self, value)