- Timestamp:
- 28/06/10 10:19:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_xacml/ndg/xacml/core/policydefaults.py
r7087 r7108 14 14 15 15 class PolicyDefaults(XacmlCoreBase): 16 """XACML PolicyDefaults type""" 16 """XACML PolicyDefaults type 17 18 @cvar ELEMENT_LOCAL_NAME: XML local name for this element 19 @type ELEMENT_LOCAL_NAME: string 20 @cvar XPATH_VERSION_ELEMENT_NAME: XML local name for XPath version element 21 @type XPATH_VERSION_ELEMENT_NAME: string 22 23 @ivar __xpathVersion: XPath version 24 @type __xpathVersion: basestring / NoneType 25 """ 17 26 ELEMENT_LOCAL_NAME = 'PolicyDefaults' 18 27 XPATH_VERSION_ELEMENT_NAME = 'XPathVersion' … … 21 30 22 31 def __init__(self): 32 """Initialise attributes""" 23 33 super(PolicyDefaults, self).__init__() 24 34 self.__xpathVersion = None 25 35 26 36 def _get_xpathVersion(self): 37 """@return: XPath version 38 @rtype: basestring / NoneType 39 """ 27 40 return self.__xpathVersion 28 41 29 42 def _set_xpathVersion(self, value): 43 """@param value: XPath version 44 @type value: basestring / NoneType 45 @raise TypeError: incorrect input type 46 """ 30 47 if not isinstance(value, basestring): 31 48 raise TypeError('Expecting %r type for "xpathVersion" '
Note: See TracChangeset
for help on using the changeset viewer.