Package ndg :: Package saml :: Package xml :: Module etree :: Class StatusMessageElementTree
[hide private]

Class StatusMessageElementTree

source code


Represent a SAML Status Message in XML using ElementTree

Instance Methods [hide private]

Inherited from saml2.core.StatusMessage: __getstate__, __init__

Inherited from saml2.core.StatusMessage (private): _getValue, _setValue

Inherited from common.SAMLObject: __setstate__

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

Class Methods [hide private]
ElementTree.Element
toXML(cls, statusMessage)
Create an XML representation of the input SAML Name Status Message
source code
saml.saml2.core.StatusMessage
fromXML(cls, elem)
Parse ElementTree element into a SAML StatusMessage object
source code
Class Variables [hide private]

Inherited from saml2.core.StatusMessage: DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME

Properties [hide private]

Inherited from saml2.core.StatusMessage: value

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

toXML(cls, statusMessage)
Class Method

source code 

Create an XML representation of the input SAML Name Status Message

Parameters:
  • statusMessage (saml.saml2.core.StatusMessage) - SAML Status Message
Returns: ElementTree.Element
Status Code as ElementTree XML element
Overrides: common.SAMLObject.toXML

fromXML(cls, elem)
Class Method

source code 

Parse ElementTree element into a SAML StatusMessage object

Parameters:
  • elem (ElementTree.Element) - Status Code as ElementTree XML element
Returns: saml.saml2.core.StatusMessage
SAML Status Message
Overrides: common.SAMLObject.fromXML