MCPcopy Create free account
hub / github.com/crewjam/saml / Element

Method Element

schema.go:1192–1198  ·  view source on GitHub ↗

Element returns an etree.Element representing the object in XML form.

()

Source from the content-addressed store, hash-verified

1190
1191// Element returns an etree.Element representing the object in XML form.
1192func (a *AttributeStatement) Element() *etree.Element {
1193 el := etree.NewElement("saml:AttributeStatement")
1194 for _, v := range a.Attributes {
1195 el.AddChild(v.Element())
1196 }
1197 return el
1198}
1199
1200// Attribute represents the SAML element Attribute.
1201//

Callers

nothing calls this directly

Calls 1

ElementMethod · 0.45

Tested by

no test coverage detected