|
||||||||||
| 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.RootNode
| Constructor Summary | |
RootNode()
|
|
| Method Summary | |
void |
add(int index,
PolicyTreeElement element)
|
void |
add(PolicyTreeElement element)
|
void |
addNodeChangeListener(NodeChangeListener listener)
|
void |
commit(boolean deep)
Commits the state of this element. |
boolean |
containsId(java.lang.String id)
|
XACMLTreeNode |
getChild(int index)
Gets the child at the specified index. |
int |
getChildCount()
Gets the number of children of this element. |
java.util.Set |
getRemovedDocumentNames()
|
int |
indexOfChild(java.lang.Object child)
Gets the index of a particular child. |
boolean |
isModified(boolean deep)
Returns true if this element has been modified. |
void |
nodeAdded(XACMLTreeNode node,
int newIndex)
|
void |
nodeChanged(XACMLTreeNode node)
|
void |
nodeRemoved(XACMLTreeNode removedNode,
int oldChildIndex)
|
void |
remove(PolicyElementNode node)
|
void |
removeNodeChangeListener(NodeChangeListener listener)
|
void |
revert(boolean deep)
Reverts the state of this element to the last commit. |
java.lang.String |
serialize(boolean indent)
Serializes this node to a String |
| Methods inherited from class org.exist.client.xacml.AbstractTreeNode |
fireChanged, getParent, setModified |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exist.client.xacml.PolicyElementContainer |
add, add |
| Methods inherited from interface org.exist.client.xacml.XACMLTreeNode |
getParent, setModified |
| Constructor Detail |
public RootNode()
| Method Detail |
public void add(PolicyTreeElement element)
public void add(int index,
PolicyTreeElement element)
public void remove(PolicyElementNode node)
remove in interface PolicyElementContainerpublic boolean containsId(java.lang.String id)
containsId in interface PolicyElementContainerpublic int getChildCount()
NodeContainer
getChildCount in interface NodeContainerpublic XACMLTreeNode getChild(int index)
NodeContainer
getChild in interface NodeContainerindex - The child's position
public int indexOfChild(java.lang.Object child)
NodeContainer
indexOfChild in interface NodeContainerchild - The child to obtain the index of
public boolean isModified(boolean deep)
XACMLTreeNode
isModified in interface XACMLTreeNodeisModified in class AbstractTreeNodepublic void revert(boolean deep)
XACMLTreeNode
revert in interface XACMLTreeNoderevert in class AbstractTreeNodepublic void commit(boolean deep)
XACMLTreeNode
commit in interface XACMLTreeNodecommit in class AbstractTreeNodepublic java.util.Set getRemovedDocumentNames()
public void addNodeChangeListener(NodeChangeListener listener)
public void removeNodeChangeListener(NodeChangeListener listener)
public void nodeChanged(XACMLTreeNode node)
nodeChanged in interface NodeChangeListener
public void nodeAdded(XACMLTreeNode node,
int newIndex)
nodeAdded in interface NodeChangeListener
public void nodeRemoved(XACMLTreeNode removedNode,
int oldChildIndex)
nodeRemoved in interface NodeChangeListenerpublic java.lang.String serialize(boolean indent)
XACMLTreeNodeString
serialize in interface XACMLTreeNodeindent - Whether or not the XML should be indented
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||