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

Class XSStringAttributeValueElementTree

source code


ElementTree XML representation of SAML String type Attribute Value

Instance Methods [hide private]

Inherited from saml2.core.XSStringAttributeValue: __getstate__, __init__

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, attributeValue)
Create an XML representation of the input SAML Attribute Value
source code
saml.saml2.core.AttributeValue
fromXML(cls, elem)
Parse ElementTree xs:string element into a SAML XSStringAttributeValue object
source code
Class Variables [hide private]

Inherited from saml2.core.XSStringAttributeValue: DEFAULT_FORMAT, TYPE_LOCAL_NAME, TYPE_NAME

Inherited from saml2.core.AttributeValue: DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME

Properties [hide private]

Inherited from saml2.core.XSStringAttributeValue: value

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

toXML(cls, attributeValue)
Class Method

source code 

Create an XML representation of the input SAML Attribute Value

Parameters:
  • attributeValue (saml.saml2.core.XSStringAttributeValue) - xs:string to be represented as an ElementTree Element
Returns: ElementTree.Element
ElementTree Element
Overrides: common.SAMLObject.toXML

fromXML(cls, elem)
Class Method

source code 

Parse ElementTree xs:string element into a SAML XSStringAttributeValue object

Parameters:
  • elem (ElementTree.Element) - Attribute value as ElementTree XML element
Returns: saml.saml2.core.AttributeValue
SAML Attribute value
Overrides: common.SAMLObject.fromXML