|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.SimpleObligations
public class SimpleObligations
This class implements the interface Obligations, and provides a constructor to construct an instance based on a PolicyXMLNode object.
Constructor Summary | |
---|---|
SimpleObligations()
Creates a new instance of SimpleObligations |
|
SimpleObligations(PolicyXMLNode ObligationsNode)
Construct a SimpleObligations Object using an XMLPolicyNode. |
Method Summary | |
---|---|
java.util.List |
getObligations()
This function retrieves a List of the obligations |
boolean |
isEmpty()
check if the Obligations Object contains no obligations. |
java.lang.String |
toString()
This function acts the same as the toXML function. |
java.lang.String |
toXML()
This function converts the internal structure into XML text string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleObligations()
public SimpleObligations(PolicyXMLNode ObligationsNode)
ObligationsNode
- The corresponding PolicyXMLNode object of the Obligations in
the target access rule.Method Detail |
---|
public boolean isEmpty()
isEmpty
in interface Obligations
public java.lang.String toXML()
No Attributes are iterated and inserts into the XML text as the XML DTD of Obligations contains no attributes. All children nodes are converted to XML by their own (which is implemented by the xmlpolicynode).
toXML
in interface Obligations
public java.util.List getObligations()
getObligations
in interface Obligations
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |