public interface INode
Modifier and Type | Method and Description |
---|---|
void |
appendChild(INode child)
Append a child to this node.
|
java.util.Iterator |
getChildren()
Get the children of the node.
|
INode |
getNext()
Get the sibling node immediately following the specified node.
|
INode |
getParent()
Get the parent of the node, or return null if the node is in tree top
level.
|
INode |
getPrevious()
Get the sibling node immediately preceding the specified node.
|
void |
removeChildren()
Remove all children of the node.
|
void |
setNext(INode next)
Set the sibling node immediately following the specified node.
|
void |
setParent(INode parent)
Set the parent of the node.
|
void |
setPrevious(INode previous)
Set the sibling node immediately preceding the specified node.
|
INode getParent()
void setParent(INode parent)
parent
- the parent of the node.INode getPrevious()
void setPrevious(INode previous)
previous
- the sibling node immediately preceding the specified node.INode getNext()
void setNext(INode next)
next
- the sibling node immediately following the specified node.void appendChild(INode child)
child
- the child need to be appended.java.util.Iterator getChildren()
void removeChildren()
Copyright © 2014 OpenText Corp. All rights reserved.