source: TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/resourcereader.py @ 6751

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

Working rule1 example parsing, working on rule2 which contains a target resource.

Line 
1"""NDG XACML ElementTree based Resource Element reader
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "18/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.resource import Resource
13from ndg.xacml.parsers.etree.subjectreader import AbstractTargetChildReader
14
15
16class ResourceReader(AbstractTargetChildReader):
17    '''ElementTree based XACML Rule parser
18    @cvar TYPE: XACML type to instantiate from parsed object
19    @type string: type
20    '''
21    TYPE = Resource
22     
Note: See TracBrowser for help on using the repository browser.