Element returns an etree.Element representing the object in XML form.
()
| 715 | |
| 716 | // Element returns an etree.Element representing the object in XML form. |
| 717 | func (sm StatusDetail) Element() *etree.Element { |
| 718 | el := etree.NewElement("samlp:StatusDetail") |
| 719 | for _, child := range sm.Children { |
| 720 | el.AddChild(child) |
| 721 | } |
| 722 | return el |
| 723 | } |
| 724 | |
| 725 | // Assertion represents the SAML element Assertion. |
| 726 | // |
nothing calls this directly
no outgoing calls
no test coverage detected