Package com.sun.identity.xacml.context
Interface StatusCode
-
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
StatusCodeImpl
@SupportedAll public interface StatusCode extends XmlSerializable
TheStatusCode
element is a container of one or moreStatusCode
s issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getMinorCodeValue()
Returns theminorCodeValue
of this objectString
getValue()
Returns thevalue
of this objectboolean
isMutable()
Checks if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setMinorCodeValue(String minorCodeValue)
Sets theminorCodeValue
of this objectvoid
setValue(String value)
Sets thevalue
of this objectdefault String
toXMLString()
Returns a string representationdefault String
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
-
-
-
Method Detail
-
getValue
String getValue()
Returns thevalue
of this object- Returns:
- the
value
of this object
-
setValue
void setValue(String value) throws XACMLException
Sets thevalue
of this object- Throws:
XACMLException
- if the object is immutable
-
getMinorCodeValue
String getMinorCodeValue()
Returns theminorCodeValue
of this object- Returns:
- the
minorCodeValue
of this object
-
setMinorCodeValue
void setMinorCodeValue(String minorCodeValue) throws XACMLException
Sets theminorCodeValue
of this object- Throws:
XACMLException
- if the object is immutable
-
toXMLString
default String toXMLString() throws XACMLException
Returns a string representation- Specified by:
toXMLString
in interfaceXmlSerializable
- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
toXMLString
default String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation- Specified by:
toXMLString
in interfaceXmlSerializable
- 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 string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
isMutable
boolean isMutable()
Checks if the object is mutable- Returns:
true
if the object is mutable,false
otherwise
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
-