Package com.sun.identity.saml2.protocol
Interface StatusMessage
-
- All Known Implementing Classes:
StatusMessageImpl
public interface StatusMessageThis class represents theStatusMessageelement in SAML protocol schema. TheStatusMessageelement specifies a message that MAY be returned to an operator.<element name="StatusMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetValue()Returns theStatusMessagevalue.StringtoXMLString()Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.
-
-
-
Method Detail
-
getValue
String getValue()
Returns theStatusMessagevalue.- Returns:
- A String value of the
StatusMessage
-
toXMLString
String toXMLString() throws SAML2Exception
Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.- Returns:
- An XML String representing the
StatusMessage. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns theStatusMessagein an XML document String format based on theStatusMessageschema described above.- Parameters:
includeNSPrefix- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A XML String representing the
StatusMessage. - Throws:
SAML2Exception- if some error occurs during conversion toString.
-
-