|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.FObj.FObjIterator
public static class FObj.FObjIterator
Basic FONode.FONodeIterator
implementation
Method Summary | |
---|---|
void |
add(FONode newNode)
Add the given newNode at the current position. |
FONode |
first()
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 |
last()
Returns the last node in the list, and advances the current position, so that a subsequent call to hasNext()
will return false |
FONode |
next()
|
int |
nextIndex()
|
FObj |
parent()
Returns the parent node for this iterator's list of child nodes |
FONode |
previous()
|
int |
previousIndex()
|
void |
remove()
Removes the node at the current position. |
void |
set(FONode newNode)
Replace the node at the current index with the given newNode . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public FObj parent()
parent
in interface FONode.FONodeIterator
public FONode next()
next
in interface java.util.Iterator<FONode>
next
in interface java.util.ListIterator<FONode>
next
in interface FONode.FONodeIterator
public FONode previous()
previous
in interface java.util.ListIterator<FONode>
previous
in interface FONode.FONodeIterator
public void set(FONode newNode)
newNode
.
set
in interface java.util.ListIterator<FONode>
set
in interface FONode.FONodeIterator
newNode
- the new nodepublic void add(FONode newNode)
newNode
at the current position.
add
in interface java.util.ListIterator<FONode>
add
in interface FONode.FONodeIterator
newNode
- the new nodepublic boolean hasNext()
hasNext
in interface java.util.Iterator<FONode>
hasNext
in interface java.util.ListIterator<FONode>
hasNext
in interface FONode.FONodeIterator
true
if there is a next node, false
otherwisepublic boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<FONode>
hasPrevious
in interface FONode.FONodeIterator
true
if there is a previous node, false
otherwisepublic int nextIndex()
nextIndex
in interface java.util.ListIterator<FONode>
nextIndex
in interface FONode.FONodeIterator
public int previousIndex()
previousIndex
in interface java.util.ListIterator<FONode>
previousIndex
in interface FONode.FONodeIterator
public void remove()
remove
in interface java.util.Iterator<FONode>
remove
in interface java.util.ListIterator<FONode>
remove
in interface FONode.FONodeIterator
public FONode last()
hasNext()
will return false
last
in interface FONode.FONodeIterator
public FONode first()
hasPrevious()
will
return false
first
in interface FONode.FONodeIterator
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |