|
||||||||
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,
PolicyElementNode node)
|
void |
add(int index,
com.sun.xacml.PolicyTreeElement element)
|
void |
add(PolicyElementNode node)
|
void |
add(com.sun.xacml.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 |
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(com.sun.xacml.PolicyTreeElement element)
add
in interface PolicyElementContainer
public void add(int index, com.sun.xacml.PolicyTreeElement element)
add
in interface PolicyElementContainer
public void add(PolicyElementNode node)
add
in interface PolicyElementContainer
public void add(int index, PolicyElementNode node)
add
in interface PolicyElementContainer
public void remove(PolicyElementNode node)
remove
in interface PolicyElementContainer
public boolean containsId(java.lang.String id)
containsId
in interface PolicyElementContainer
public int getChildCount()
NodeContainer
getChildCount
in interface NodeContainer
public XACMLTreeNode getChild(int index)
NodeContainer
getChild
in interface NodeContainer
index
- The child's position
public int indexOfChild(java.lang.Object child)
NodeContainer
indexOfChild
in interface NodeContainer
child
- The child to obtain the index of
public boolean isModified(boolean deep)
XACMLTreeNode
isModified
in interface XACMLTreeNode
isModified
in class AbstractTreeNode
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 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 NodeChangeListener
public java.lang.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 |