Constructor and Description |
---|
DecisionImpl()
Constructs a
Decision object |
DecisionImpl(Element element)
Constructs a
Decision object from an XML DOM element |
DecisionImpl(String xml)
Constructs a
Decision object from an XML string |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the
value s of this object |
boolean |
isMutable()
Checks if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setValue(String value)
Sets the
value s of this object |
String |
toXMLString()
Returns a string representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a string representation
|
public DecisionImpl() throws XACMLException
Decision
objectXACMLException
public DecisionImpl(String xml) throws XACMLException
Decision
object from an XML stringxml
- string representing a Decision
objectXACMLException
- if the XML string could not be processedpublic DecisionImpl(Element element) throws XACMLException
Decision
object from an XML DOM elementelement
- XML DOM element representing a Decision
objectXACMLException
- if the DOM element could not be processedpublic String getValue()
value
s of this objectpublic void setValue(String value) throws XACMLException
value
s of this objectsetValue
in interface Decision
XACMLException
- if the object is immutablepublic String toXMLString() throws XACMLException
toXMLString
in interface Decision
XACMLException
- if conversion fails for any reasonpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
toXMLString
in interface Decision
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()
public void makeImmutable()
makeImmutable
in interface Decision
Copyright © 2010-2018, ForgeRock All Rights Reserved.