Ignore:
Timestamp:
28/06/10 13:54:57 (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/parsers/etree/attributevaluereader.py

    r7087 r7109  
    1919class AttributeValueReader(ExpressionReader): 
    2020    '''ElementTree based XACML Expression type parser 
     21     
     22    @cvar TYPE: XACML class type that this reader will read values into 
     23    @type TYPE: abc.ABCMeta 
     24     
     25    @cvar FACTORY: factory function for returning an Attribute value type for a  
     26    given XACML Attribute value URI 
     27    @type FACTORY: ndg.xacml.core.attributevalue.AttributeValueClassFactory 
    2128    ''' 
    2229    TYPE = AttributeValue 
     
    2734        _parseExtension since AttributeValue class is virtual.  A sub-type can 
    2835        be instantiated only once the data type attribute is parsed 
     36         
     37        @param obj: input object to parse 
     38        @type obj: ElementTree Element, or stream object 
     39        @return: new XACML attribute value instance 
     40        @rtype: ndg.xacml.core.attributevalue.AttributeValue derived type  
     41        @raise XMLParseError: error reading element        
    2942        """ 
    3043        elem = super(AttributeValueReader, self)._parse(obj) 
     
    5568     
    5669    def _parseExtension(self, elem, attributeValue): 
     70        """Parse XML Attribute value element 
     71         
     72        @param elem: ElementTree XML element 
     73        @type elem: xml.etree.Element 
     74         
     75        @param attributeValue: attribute selector to be updated with parsed 
     76        values 
     77        @type attributeValue: ndg.xacml.core.attributevalue.AttributeValue 
     78         
     79        @raise XMLParseError: error parsing attribute ID XML attribute 
     80        """ 
    5781        if elem.text is None: 
    5882            raise XMLParseError('No attribute value element found parsing %r' %  
Note: See TracChangeset for help on using the changeset viewer.