|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.MemberIterator
public class MemberIterator
An iterator over the members of a structure. Each call to
getNext( ) returns a MemberHandle for the next
structure member.
| Field Summary | |
|---|---|
protected java.util.Iterator |
iter
Iterator over the members. |
protected org.eclipse.birt.report.model.metadata.StructureDefn |
structDefn
The definition of the structure. |
protected StructureHandle |
structHandle
Handle to the structure itself. |
| Constructor Summary | |
|---|---|
MemberIterator(StructureHandle struct)
Constructs a member iterator with the given structure handle. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.Object |
next()
Returns a handle to the next member. |
void |
remove()
The remove operation is not supported when iterating over a structure; the application cannot remove members of a structure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected StructureHandle structHandle
protected org.eclipse.birt.report.model.metadata.StructureDefn structDefn
protected java.util.Iterator iter
| Constructor Detail |
|---|
public MemberIterator(StructureHandle struct)
struct - handle to the structure over which to iterate| Method Detail |
|---|
public void remove()
remove in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.IteratorMemberHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||