|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeIterator
A specialized iterator for 'TreeLists'
TreeList| Method Summary | |
|---|---|
int |
currentDepth()
Depth of the last node fetched with next() or nextNode() |
Node |
getParent()
Returns the 'parent' node of the most recently returned Node. |
NodeList |
getSiblings()
Returns all nodes with the same parent as the most recently return Node (include that node itself). |
| Methods inherited from interface org.mmbase.bridge.NodeIterator |
|---|
nextNode, previousNode |
| Methods inherited from interface java.util.ListIterator |
|---|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set |
| Method Detail |
|---|
int currentDepth()
Node getParent()
null if there
is no such node.
NodeList getSiblings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||