public class StatusDetailImpl extends Object implements StatusDetail
StatusCode
element is a container of
one or more Status
s issuded by authorization authority.
Schema:
<xs:element name="StatusDetail" type="xacml-context:StatusDetailType"/> <xs:complexType name="StatusDetailType"> <xs:sequence> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:sequence> <xs:complexType> >/pre>
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
objectSAMLException
- if the XML string could not be processedXACMLException
public StatusDetailImpl(Element element) throws XACMLException
StatusDetail
object from an XML DOM elementelement
- XML DOM element representing a StatusDetail
objectSAMLException
- if the DOM element could not be processedXACMLException
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–2025 Open Identity Platform Community. All rights reserved.