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

Class DecisionElementTree

source code

                  object --+    
                           |    
core.context.result.Decision --+
                               |
                              DecisionElementTree

ElementTree based parser for XACML Decision element

Instance Methods [hide private]

Inherited from core.context.result.Decision: __eq__, __getstate__, __init__, __repr__, __setstate__, __str__

Inherited from core.context.result.Decision (private): _getValue, _setValue

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

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

Inherited from core.context.result.Decision: DENY, DENY_STR, ELEMENT_LOCAL_NAME, INDETERMINATE, INDETERMINATE_STR, NOT_APPLICABLE, NOT_APPLICABLE_STR, PERMIT, PERMIT_STR, TYPES

Properties [hide private]

Inherited from core.context.result.Decision: value

Inherited from object: __class__

Method Details [hide private]

toXML(cls, decision)
Class Method

source code 

Create an XML representation of the input XACML Decision object

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

fromXML(cls, elem)
Class Method

source code 

Parse an ElementTree XACML Decision element into a Decision object

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