|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.client.xacml.AbstractTreeNode
org.exist.client.xacml.AbstractNodeContainer
org.exist.client.xacml.PolicyElementNode
public abstract class PolicyElementNode
Method Summary | |
---|---|
void |
commit(boolean deep)
Commits the state of this element. |
String |
getDescription()
Gets the description of the element. |
URI |
getId()
Retrieves the id of this element. |
TargetNode |
getTarget()
Gets the wrapper around the target for this element. |
boolean |
isDescriptionModified()
|
boolean |
isIdModified()
|
boolean |
isModified(boolean deep)
Returns true if this element has been modified. |
void |
revert(boolean deep)
Reverts the state of this element to the last commit. |
String |
serialize(boolean indent)
Serializes this node to a String |
void |
setDescription(String description)
Sets the description of the element. |
String |
toString()
Provides a string representation appropriate for display to the user. |
Methods inherited from class org.exist.client.xacml.AbstractNodeContainer |
---|
nodeAdded, nodeChanged, nodeRemoved |
Methods inherited from class org.exist.client.xacml.AbstractTreeNode |
---|
getParent, setModified |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.exist.client.xacml.NodeContainer |
---|
getChild, getChildCount, indexOfChild |
Methods inherited from interface org.exist.client.xacml.NodeChangeListener |
---|
nodeAdded, nodeChanged, nodeRemoved |
Methods inherited from interface org.exist.client.xacml.XACMLTreeNode |
---|
getParent, setModified |
Method Detail |
---|
public URI getId()
public String toString()
toString
in class Object
public String getDescription()
public void setDescription(String description)
description
- The new description.public boolean isIdModified()
public boolean isDescriptionModified()
public boolean isModified(boolean deep)
XACMLTreeNode
isModified
in interface XACMLTreeNode
isModified
in class AbstractTreeNode
deep
- if descendants should be included
public void revert(boolean deep)
XACMLTreeNode
revert
in interface XACMLTreeNode
revert
in class AbstractTreeNode
public void commit(boolean deep)
XACMLTreeNode
commit
in interface XACMLTreeNode
commit
in class AbstractTreeNode
public TargetNode getTarget()
public String serialize(boolean indent)
XACMLTreeNode
String
serialize
in interface XACMLTreeNode
indent
- Whether or not the XML should be indented
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |