1 """NDG XACML ElementTree based reader for action match type
2
3 NERC DataGrid
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: actionmatchreader.py 7109 2010-06-28 12:54:57Z pjkersha $"
12 from ndg.xacml.core.match import ActionMatch
13 from ndg.xacml.core.attributedesignator import ActionAttributeDesignator
14 from ndg.xacml.parsers.etree.matchreader import MatchReaderBase
15
16
18 """ElementTree based parser for XACML ActionMatch
19
20 @cvar TYPE: XACML class type that this reader will read values into
21 @type TYPE: type
22
23 @cvar ATTRIBUTE_DESIGNATOR_TYPE: type of attribute designator that this
24 match type holds
25 @type ATTRIBUTE_DESIGNATOR_TYPE: abc.ABCMeta
26 """
27 TYPE = ActionMatch
28 ATTRIBUTE_DESIGNATOR_TYPE = ActionAttributeDesignator
29