|
|||||||
| 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
public class RootNode
| Constructor Summary | |
|---|---|
RootNode()
|
|
| Method Summary | |
|---|---|
void |
add(int index,
PolicyElementNode node)
|
void |
add(int index,
PolicyTreeElement element)
|
void |
add(PolicyElementNode node)
|
void |
add(PolicyTreeElement element)
|
void |
addNodeChangeListener(NodeChangeListener listener)
|
void |
commit(boolean deep)
Commits the state of this element. |
boolean |
containsId(String id)
|
XACMLTreeNode |
getChild(int index)
Gets the child at the specified index. |
int |
getChildCount()
Gets the number of children of this element. |
Set |
getRemovedDocumentNames()
|
int |
indexOfChild(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. |
String |
serialize(boolean indent)
Serializes this node to a String |
| Methods inherited from class org.exist.client.xacml.AbstractTreeNode |
|---|
getParent, setModified |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exist.client.xacml.XACMLTreeNode |
|---|
getParent, setModified |
| Constructor Detail |
|---|
public RootNode()
| Method Detail |
|---|
public void add(PolicyTreeElement element)
add in interface PolicyElementContainer
public void add(int index,
PolicyTreeElement element)
add in interface PolicyElementContainerpublic void add(PolicyElementNode node)
add in interface PolicyElementContainer
public void add(int index,
PolicyElementNode node)
add in interface PolicyElementContainerpublic void remove(PolicyElementNode node)
remove in interface PolicyElementContainerpublic boolean containsId(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(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 AbstractTreeNodedeep - if descendants should be included
public void revert(boolean deep)
XACMLTreeNode
revert in interface XACMLTreeNoderevert in class AbstractTreeNodepublic void commit(boolean deep)
XACMLTreeNode
commit in interface XACMLTreeNodecommit in class AbstractTreeNodepublic 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 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 | ||||||