Package com.sun.identity.xacml.context
Interface StatusCode
-
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
StatusCodeImpl
@SupportedAll public interface StatusCode extends XmlSerializable
TheStatusCodeelement is a container of one or moreStatusCodes issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetMinorCodeValue()Returns theminorCodeValueof this objectStringgetValue()Returns thevalueof this objectbooleanisMutable()Checks if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetMinorCodeValue(String minorCodeValue)Sets theminorCodeValueof this objectvoidsetValue(String value)Sets thevalueof this objectdefault StringtoXMLString()Returns a string representationdefault StringtoXMLString(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 thevalueof this object- Returns:
- the
valueof this object
-
setValue
void setValue(String value) throws XACMLException
Sets thevalueof this object- Throws:
XACMLException- if the object is immutable
-
getMinorCodeValue
String getMinorCodeValue()
Returns theminorCodeValueof this object- Returns:
- the
minorCodeValueof this object
-
setMinorCodeValue
void setMinorCodeValue(String minorCodeValue) throws XACMLException
Sets theminorCodeValueof this object- Throws:
XACMLException- if the object is immutable
-
toXMLString
default String toXMLString() throws XACMLException
Returns a string representation- Specified by:
toXMLStringin 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:
toXMLStringin 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:
trueif the object is mutable,falseotherwise
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
-