Ignore:
Timestamp:
18/03/10 13:57:03 (9 years ago)
Author:
pjkersha
Message:

Parsing functionality near complete for rule1.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/rulereader.py

    r6747 r6750  
    2222class RuleReader(ETreeAbstractReader): 
    2323    '''ElementTree based XACML Rule parser 
     24     
     25    @cvar TYPE: XACML type to instantiate from parsed object 
     26    @type string: type 
    2427    ''' 
     28    TYPE = Rule 
     29     
    2530    def __call__(self, obj): 
    2631        """Parse rule object""" 
    2732        elem = super(RuleReader, self)._parse(obj) 
    2833         
    29         rule = Rule() 
    30         cls = Rule 
     34        cls = RuleReader.TYPE 
     35        rule = cls() 
    3136         
    3237        localName = QName.getLocalPart(elem.tag) 
Note: See TracChangeset for help on using the changeset viewer.