public class StatusCodeImpl extends Object implements StatusCode
StatusCode
element.Constructor and Description |
---|
StatusCodeImpl()
Constructs the
StatusCode Object. |
StatusCodeImpl(Element element)
Constructs the
StatusCode Object. |
StatusCodeImpl(String xmlString)
Constructs the
StatusCode Object. |
Modifier and Type | Method and Description |
---|---|
StatusCode |
getStatusCode()
Returns the value of the statusCode property.
|
String |
getValue()
Returns the status code value of the value 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 |
setValue(String value)
Sets the status code value of the value property.
|
String |
toXMLString()
Returns the
StatusCode in an XML document String format
based on the StatusCode schema described above. |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns the
StatusCode in an XML document String format
based on the StatusCode schema described above. |
public StatusCodeImpl()
StatusCode
Object.public StatusCodeImpl(Element element) throws SAML2Exception
StatusCode
Object.element
- the Document Element of StatusCode
object.SAML2Exception
- if StatusCode
cannot be created.public StatusCodeImpl(String xmlString) throws SAML2Exception
StatusCode
Object.xmlString
- the XML String representation of this object.SAML2Exception
- if StatusCode
cannot be created.public StatusCode getStatusCode()
getStatusCode
in interface StatusCode
setStatusCode(StatusCode)
public void setStatusCode(StatusCode value) throws SAML2Exception
setStatusCode
in interface StatusCode
value
- the value of the statusCode property to be setSAML2Exception
- if the object is immutablegetStatusCode()
public String getValue()
getValue
in interface StatusCode
setValue(String)
public void setValue(String value) throws SAML2Exception
setValue
in interface StatusCode
value
- the value of the value property to be setSAML2Exception
- if the object is immutablegetValue()
public String toXMLString() throws SAML2Exception
StatusCode
in an XML document String format
based on the StatusCode
schema described above.toXMLString
in interface StatusCode
StatusCode
.SAML2Exception
- if some error occurs during conversion to
String
.public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
StatusCode
in an XML document String format
based on the StatusCode
schema described above.toXMLString
in interface StatusCode
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.StatusCode
.SAML2Exception
- if some error occurs during conversion to
String
.public void makeImmutable()
makeImmutable
in interface StatusCode
public boolean isMutable()
isMutable
in interface StatusCode
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.