Ignore:
Timestamp:
28/06/10 10:19:26 (11 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • updating epydoc ready for release.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/ndg_xacml/ndg/xacml/core/policydefaults.py

    r7087 r7108  
    1414 
    1515class 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    """ 
    1726    ELEMENT_LOCAL_NAME = 'PolicyDefaults' 
    1827    XPATH_VERSION_ELEMENT_NAME = 'XPathVersion' 
     
    2130     
    2231    def __init__(self): 
     32        """Initialise attributes""" 
    2333        super(PolicyDefaults, self).__init__() 
    2434        self.__xpathVersion = None 
    2535         
    2636    def _get_xpathVersion(self): 
     37        """@return: XPath version 
     38        @rtype: basestring / NoneType 
     39        """ 
    2740        return self.__xpathVersion 
    2841 
    2942    def _set_xpathVersion(self, value): 
     43        """@param value: XPath version 
     44        @type value: basestring / NoneType 
     45        @raise TypeError: incorrect input type 
     46        """ 
    3047        if not isinstance(value, basestring): 
    3148            raise TypeError('Expecting %r type for "xpathVersion" ' 
Note: See TracChangeset for help on using the changeset viewer.