Package com.sun.identity.xacml.context
Interface StatusCode
-
- All Known Implementing Classes:
StatusCodeImpl
public interface StatusCodeTheStatusCodeelement is a container of one or moreStatusCodes issuded by authorization authority.Schema: <xs:element name="StatusCode" type="xacml-context:StatusCodeType"/> <xs:complexType name="StatusCodeType"> <xs:sequence> <xs:element ref="xacml-context:StatusCode" minOccurs="0"/> <xs:sequence> <xs:attribute name="Value" type="xs:anyURI" use="required"/> <xs:complexType>
-
-
Method Summary
All Methods Instance Methods Abstract 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 objectStringtoXMLString()Returns a string representationStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation
-
-
-
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
String toXMLString() throws XACMLException
Returns a string representation- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation- 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
-
-