Constructor and Description |
---|
StatusImpl()
Constructs the
Status Object. |
StatusImpl(Element element)
Constructs the
Status Object. |
StatusImpl(String xmlString)
Constructs the
Status Object. |
Modifier and Type | Method and Description |
---|---|
StatusCode |
getStatusCode()
Returns the value of the statusCode property.
|
StatusDetail |
getStatusDetail()
Returns the value of the statusDetail property.
|
String |
getStatusMessage()
Returns the value of the statusMessage property.
|
boolean |
isMutable()
Returns value true if object is mutable.
|
void |
makeImmutable()
Makes this object immutable.
|
void |
setStatusCode(StatusCode value)
Sets the value of the statusCode property.
|
void |
setStatusDetail(StatusDetail value)
Sets the value of the statusDetail property.
|
void |
setStatusMessage(String value)
Sets the value of the statusMessage property.
|
String |
toXMLString()
Returns the
Status in an XML document String format
based on the Status schema described above. |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns the
Status in an XML document String format
based on the Status schema described above. |
protected void |
validateStatusCode(StatusCode statusCode) |
public StatusImpl()
Status
Object.public StatusImpl(Element element) throws SAML2Exception
Status
Object.element
- the Document Element of Status
object.SAML2Exception
- if Status
cannot be created.public StatusImpl(String xmlString) throws SAML2Exception
Status
Object.xmlString
- the XML String representation of this object.SAML2Exception
- if Status
cannot be created.public StatusCode getStatusCode()
getStatusCode
in interface Status
setStatusCode(StatusCode)
public void setStatusCode(StatusCode value) throws SAML2Exception
setStatusCode
in interface Status
value
- the value of the statusCode property to be setSAML2Exception
- if the object is immutablegetStatusCode()
public String getStatusMessage()
getStatusMessage
in interface Status
setStatusMessage(String)
public void setStatusMessage(String value) throws SAML2Exception
setStatusMessage
in interface Status
value
- the value of the statusMessage property to be setSAML2Exception
- if the object is immutablegetStatusMessage()
public StatusDetail getStatusDetail()
getStatusDetail
in interface Status
setStatusDetail(StatusDetail)
public void setStatusDetail(StatusDetail value) throws SAML2Exception
setStatusDetail
in interface Status
value
- the value of the statusDetail property to be setSAML2Exception
- if the object is immutablegetStatusDetail()
public String toXMLString() throws SAML2Exception
Status
in an XML document String format
based on the Status
schema described above.toXMLString
in interface Status
Status
.SAML2Exception
- if some error occurs during conversion to
String
.public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Status
in an XML document String format
based on the Status
schema described above.toXMLString
in interface Status
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.Status
.SAML2Exception
- if some error occurs during conversion to
String
.public void makeImmutable()
makeImmutable
in interface Status
public boolean isMutable()
protected void validateStatusCode(StatusCode statusCode) throws SAML2Exception
SAML2Exception
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.