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 Obligations issuded by
authorization authority.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObligation(Obligation obligation) Returns theObligationobjects set in thisObligationsbooleanChecks if this object is mutablevoidMakes this object immutablevoidsetObligations(List obligations) Sets theObligationobjects of thisObligationsdefault StringReturns a string representation of this objectdefault StringtoXMLString(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 theObligationobjects set in thisObligations- Returns:
- the
Obligationobjects set in thisObligations
-
setObligations
Sets theObligationobjects of thisObligations- Parameters:
obligations- theObligationobjects to set in thisObligations- Throws:
XACMLException
-
addObligation
- Throws:
XACMLException
-
toXMLString
Returns a string representation of this object- Specified by:
toXMLStringin 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:
toXMLStringin 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:
trueif the object is mutable,falseotherwise
-