|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fo.FObj.FObjIterator
Basic FONodeIterator implementation
| Method Summary | |
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 (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 (semantically equivalent to: (FONode) previous();) |
void |
remove()
|
void |
set(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public FObj parentNode()
parentNode in interface FONode.FONodeIteratorpublic java.lang.Object next()
next 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.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.ListIteratorpublic FONode lastNode()
hasNext()
will return false
lastNode in interface FONode.FONodeIteratorpublic FONode firstNode()
hasPrevious() will
return false
firstNode in interface FONode.FONodeIteratorpublic FONode nextNode()
(FONode) next();)
nextNode in interface FONode.FONodeIteratorpublic FONode previousNode()
(FONode) previous();)
previousNode in interface FONode.FONodeIterator
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||