Package ndg :: Package xacml :: Package parsers :: Package etree :: Module context :: Class ActionElementTree
[hide private]

Class ActionElementTree

source code

               object --+                
                        |                
       core.XacmlCoreBase --+            
                            |            
core.context.XacmlContextBase --+        
                                |        
    core.context.RequestChildBase --+    
                                    |    
           core.context.action.Action --+
                                        |
                                       ActionElementTree

ElementTree based parser for XACML Action element

Instance Methods [hide private]

Inherited from core.context.RequestChildBase: __getstate__, __init__

Inherited from core.context.XacmlContextBase: __setstate__

Inherited from core.XacmlCoreBase (private): _getXmlns, _setXmlns

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
ElementTree.Element
toXML(cls, action)
Create an XML representation of the input XACML Action object
source code
ndg.xacml.core.context.action.Action
fromXML(cls, elem)
Parse an ElementTree XACML Action element into a Action object
source code
Class Variables [hide private]

Inherited from core.context.action.Action: ELEMENT_LOCAL_NAME

Inherited from core.context.XacmlContextBase: XACML_2_0_CONTEXT_NS, XACML_2_0_CONTEXT_NS_PREFIX

Inherited from core.XacmlCoreBase: XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Properties [hide private]

Inherited from core.context.RequestChildBase: attributes

Inherited from core.XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

toXML(cls, action)
Class Method

source code 

Create an XML representation of the input XACML Action object

Parameters:
  • action (ndg.xacml.core.context.action.Action) - XACML action object
Returns: ElementTree.Element
ElementTree element containing the action

fromXML(cls, elem)
Class Method

source code 

Parse an ElementTree XACML Action element into a Action object

Parameters:
  • elem (ElementTree.Element) - ElementTree element containing the action
Returns: ndg.xacml.core.context.action.Action
Action object