Ignore:
Timestamp:
18/03/10 13:57:03 (10 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/reader.py

    r6746 r6750  
    2424 
    2525class ETreeAbstractReader(AbstractReader): 
    26     """Base class for ElementTree implementation of XACML reader""" 
    27       
     26    """Base class for ElementTree implementation of XACML reader 
     27     
     28    @cvar TYPE: XACML type to instantiate from parsed object 
     29    @type string: type""" 
     30    TYPE = None 
     31     
    2832    def __init__(self): 
     33        if self.__class__.TYPE is None: 
     34            raise NotImplementedError('No "TYPE" class variable set to specify ' 
     35                                      'the XACML type to instantiate') 
     36             
    2937        self.__namespace_map_backup = ElementTree._namespace_map.copy() 
    3038        ElementTree._namespace_map[''] = PolicyComponent.XACML_2_0_XMLNS 
     
    5361AbstractReader.register(ETreeAbstractReader) 
    5462 
    55  
    56 class VariableDefinitionReader(object): 
    57     def __call__(self, obj): 
    58         pass 
Note: See TracChangeset for help on using the changeset viewer.