Package com.sun.identity.xacml.policy
Interface Obligations
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
ObligationsImpl
The
Obligations
element is a container of
one or more Obligation
s issuded by
authorization authority.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObligation
(Obligation obligation) Returns theObligation
objects set in thisObligations
boolean
Checks if this object is mutablevoid
Makes this object immutablevoid
setObligations
(List obligations) Sets theObligation
objects of thisObligations
default String
Returns a string representation of this objectdefault String
toXMLString
(boolean includeNSPrefix, boolean declareNS) Returns a string representation of this objectMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
Field Details
-
OBLIGATIONS_ELEMENT
- See Also:
-
-
Method Details
-
getObligations
List getObligations()Returns theObligation
objects set in thisObligations
- Returns:
- the
Obligation
objects set in thisObligations
-
setObligations
Sets theObligation
objects of thisObligations
- Parameters:
obligations
- theObligation
objects to set in thisObligations
- Throws:
XACMLException
-
addObligation
- Throws:
XACMLException
-
toXMLString
Returns a string representation of this object- Specified by:
toXMLString
in interfaceXmlSerializable
- 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
-
toXMLString
Returns a string representation of this object- Specified by:
toXMLString
in interfaceXmlSerializable
- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
makeImmutable
void makeImmutable()Makes this object immutable -
isMutable
boolean isMutable()Checks if this object is mutable- Returns:
true
if the object is mutable,false
otherwise
-