Class StatusDetailImpl
- java.lang.Object
-
- com.sun.identity.xacml.context.impl.StatusDetailImpl
-
- All Implemented Interfaces:
StatusDetail
@SupportedAll public class StatusDetailImpl extends Object implements StatusDetail
TheStatusCode
element is a container of one or moreStatus
s issuded by authorization authority.
-
-
Constructor Summary
Constructors Constructor Description StatusDetailImpl()
Constructs aStatusDetail
objectStatusDetailImpl(String xml)
Constructs aStatusDetail
object from an XML stringStatusDetailImpl(Element element)
Constructs aStatusDetail
object from an XML DOM element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getElement()
boolean
isMutable()
Checks if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setElement(Element element)
String
toXMLString()
Returns a string representationString
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation
-
-
-
Constructor Detail
-
StatusDetailImpl
public StatusDetailImpl() throws XACMLException
Constructs aStatusDetail
object- Throws:
XACMLException
-
StatusDetailImpl
public StatusDetailImpl(String xml) throws XACMLException
Constructs aStatusDetail
object from an XML string- Parameters:
xml
- string representing aStatusDetail
object- Throws:
XACMLException
- If the XML string could not be processed.
-
StatusDetailImpl
public StatusDetailImpl(Element element) throws XACMLException
Constructs aStatusDetail
object from an XML DOM element- Parameters:
element
- XML DOM element representing aStatusDetail
object- Throws:
XACMLException
- If the DOM element could not be processed.
-
-
Method Detail
-
getElement
public Element getElement()
- Specified by:
getElement
in interfaceStatusDetail
-
setElement
public void setElement(Element element) throws XACMLException
- Specified by:
setElement
in interfaceStatusDetail
- Throws:
XACMLException
-
toXMLString
public String toXMLString() throws XACMLException
Returns a string representation- Specified by:
toXMLString
in interfaceStatusDetail
- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation- Specified by:
toXMLString
in interfaceStatusDetail
- 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
public boolean isMutable()
Checks if the object is mutable- Specified by:
isMutable
in interfaceStatusDetail
- Returns:
true
if the object is mutable,false
otherwise
-
makeImmutable
public void makeImmutable()
Makes the object immutable- Specified by:
makeImmutable
in interfaceStatusDetail
-
-