source: TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/environmentreader.py @ 6753

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/environmentreader.py@6753
Revision 6753, 712 bytes checked in by pjkersha, 10 years ago (diff)

Started adding parsing for Condition and Apply types.

Line 
1"""NDG XACML ElementTree based Environment Element reader
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "16/03/10"
7__copyright__ = "(C) 2010 Science and Technology Facilities Council"
8__contact__ = "Philip.Kershaw@stfc.ac.uk"
9__license__ = "BSD - see LICENSE file in top-level directory"
10__contact__ = "Philip.Kershaw@stfc.ac.uk"
11__revision__ = "$Id: $"
12from ndg.xacml.core.environment import Environment
13from ndg.xacml.parsers.etree.targetchildreader import TargetChildReader
14   
15
16class EnvironmentReader(TargetChildReader):
17    '''ElementTree based XACML Rule parser
18    @cvar TYPE: XACML type to instantiate from parsed object
19    @type string: type
20    '''
21    TYPE = Environment       
Note: See TracBrowser for help on using the repository browser.