org.apache.fop.fo
public class FObj.FObjIterator extends java.lang.Object implements FONode.FONodeIterator
| Modifier | Constructor and Description |
|---|---|
protected |
FObj.FObjIterator(FObj parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object o) |
FONode |
firstNode()
Returns the first node in the list, and decreases the index,
so that a subsequent call to hasPrevious() will return false
|
boolean |
hasNext() |
boolean |
hasPrevious() |
FONode |
lastNode()
Returns the last node in the list, and advances the
current position, so that a subsequent call to hasNext()
will return false
|
java.lang.Object |
next() |
int |
nextIndex() |
FONode |
nextNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) next();) |
FObj |
parentNode()
Returns the parent node for this iterator's list
of child nodes
|
java.lang.Object |
previous() |
int |
previousIndex() |
FONode |
previousNode()
Convenience method with return type of FONode
(should be semantically equivalent to
(FONode) previous();) |
void |
remove() |
void |
set(java.lang.Object o) |
protected FObj.FObjIterator(FObj parent)
public FObj parentNode()
parentNode in interface FONode.FONodeIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in interface java.util.ListIteratorpublic java.lang.Object previous()
previous in interface java.util.ListIteratorpublic void set(java.lang.Object o)
set in interface java.util.ListIteratorpublic void add(java.lang.Object o)
add in interface java.util.ListIteratorpublic boolean hasNext()
hasNext in interface java.util.IteratorhasNext in interface java.util.ListIteratorpublic boolean hasPrevious()
hasPrevious in interface java.util.ListIteratorpublic int nextIndex()
nextIndex in interface java.util.ListIteratorpublic int previousIndex()
previousIndex in interface java.util.ListIteratorpublic void remove()
remove in interface java.util.Iteratorremove in interface java.util.ListIteratorpublic FONode lastNode()
lastNode in interface FONode.FONodeIteratorpublic FONode firstNode()
firstNode in interface FONode.FONodeIteratorpublic FONode nextNode()
(FONode) next();)nextNode in interface FONode.FONodeIteratorpublic FONode previousNode()
(FONode) previous();)previousNode in interface FONode.FONodeIteratorCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.