|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.StructureIterator
Iterates over the structures within a property or member defined as a list of
structures. Each object returned by getNext( )
is of type
StructureHandle
.
Field Summary | |
protected int |
index
The count over the list positions. |
protected java.util.ArrayList |
list
Cached copy of the property list. |
protected SimpleValueHandle |
valueHandle
Handle to the property or member that contains the list. |
Constructor Summary | |
StructureIterator(SimpleValueHandle handle)
Constructs an structure iterator for the property or member that has the list of structures over which to iterate. |
Method Summary | |
boolean |
hasNext()
|
java.lang.Object |
next()
Returns a handle to the next structure in the list. |
void |
remove()
Removes the structure at the current position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final SimpleValueHandle valueHandle
protected final java.util.ArrayList list
protected int index
Constructor Detail |
public StructureIterator(SimpleValueHandle handle)
handle
- handle to the property or member that has the list of
structures over which to iterateMethod Detail |
public void remove()
remove
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
StructureHandle
next
in interface java.util.Iterator
StructureHandle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |