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

Class ResponseElementTree

source code

               object --+            
                        |            
       core.XacmlCoreBase --+        
                            |        
core.context.XacmlContextBase --+    
                                |    
   core.context.response.Response --+
                                    |
                                   ResponseElementTree

ElementTree based parser for XACML Response element

Instance Methods [hide private]

Inherited from core.context.response.Response: __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, response)
Create an XML representation of the input XACML Response object
source code
ndg.xacml.core.context.response.Response
fromXML(cls, elem)
Parse an ElementTree XACML Response element into a Response object
source code
Class Variables [hide private]

Inherited from core.context.response.Response: 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.response.Response: results

Inherited from core.XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

toXML(cls, response)
Class Method

source code 

Create an XML representation of the input XACML Response object

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

fromXML(cls, elem)
Class Method

source code 

Parse an ElementTree XACML Response element into a Response object

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