public class StatusDetailImpl extends Object implements StatusDetail
StatusCode
element is a container of
one or more Status
s issuded by authorization authority.Constructor and Description |
---|
StatusDetailImpl()
Constructs a
StatusDetail object |
StatusDetailImpl(Element element)
Constructs a
StatusDetail object from an XML DOM element |
StatusDetailImpl(String xml)
Constructs a
StatusDetail object from an XML string |
Modifier and Type | Method and Description |
---|---|
Element |
getElement() |
boolean |
isMutable()
Checks if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setElement(Element element) |
String |
toXMLString()
Returns a string representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a string representation
|
public StatusDetailImpl() throws XACMLException
StatusDetail
objectXACMLException
public StatusDetailImpl(String xml) throws XACMLException
StatusDetail
object from an XML stringxml
- string representing a StatusDetail
objectXACMLException
- If the XML string could not be processed.public StatusDetailImpl(Element element) throws XACMLException
StatusDetail
object from an XML DOM elementelement
- XML DOM element representing a StatusDetail
objectXACMLException
- If the DOM element could not be processed.public Element getElement()
getElement
in interface StatusDetail
public void setElement(Element element) throws XACMLException
setElement
in interface StatusDetail
XACMLException
public String toXMLString() throws XACMLException
toXMLString
in interface StatusDetail
XACMLException
- if conversion fails for any reasonpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
toXMLString
in interface StatusDetail
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.XACMLException
- if conversion fails for any reasonpublic boolean isMutable()
isMutable
in interface StatusDetail
true
if the object is mutable,
false
otherwisepublic void makeImmutable()
makeImmutable
in interface StatusDetail
Copyright © 2010-2018, ForgeRock All Rights Reserved.