Element returns an etree.Element representing the object in XML form.
()
| 1068 | |
| 1069 | // Element returns an etree.Element representing the object in XML form. |
| 1070 | func (sm StatusMessage) Element() *etree.Element { |
| 1071 | el := etree.NewElement("samlp:StatusMessage") |
| 1072 | el.SetText(sm.Value) |
| 1073 | return el |
| 1074 | } |
| 1075 | |
| 1076 | // StatusDetail represents the SAML element StatusDetail. |
| 1077 | // |
nothing calls this directly
no outgoing calls
no test coverage detected