|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcwi.GraphXML.StructureIterator
Structure iterator class. This class is initialized for a full XMLGraph document and allows the user to iterate step by step through graph and edit specifications.
Instances of this class are generated by the Abstract Parser.
AbstractParser| Constructor Summary | |
|---|---|
(package private) |
StructureIterator(InterpretDocument int_a,
org.w3c.dom.Node[] graphs_a,
org.w3c.dom.Node[][] edits_a)
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
finalize()
This method overrides the inherited method from class Object. |
int |
getNumberOfEdits()
Return number of edit block definitions |
int |
getNumberOfGraphs()
Return number of graph definitions |
boolean |
hasNextEditBlock()
Is there more edit block definitions to interpret? |
boolean |
hasNextGraph()
Is there more graph definitions to interpret? |
void |
interpretNextEditBlock()
Interpret next edit block. |
void |
interpretNextGraph()
Interpret next graph. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
StructureIterator(InterpretDocument int_a,
org.w3c.dom.Node[] graphs_a,
org.w3c.dom.Node[][] edits_a)
| Method Detail |
public int getNumberOfGraphs()
public int getNumberOfEdits()
public boolean hasNextGraph()
public boolean hasNextEditBlock()
public void interpretNextGraph()
public void interpretNextEditBlock()
public void close()
protected void finalize()
throws java.lang.Throwable
java.lang.ThrowableGraphSemanticspublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||