|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The statementmap stores statements under their name. It is a collection with statements but for faster access from the interpreter, they are stored in a map to prevent iterations.
| Method Summary | |
void |
addStatement(IStatement statement)
adds a statement to the statementmap |
void |
clear()
clears the statement map |
void |
genXml(java.io.Writer out,
ISymbolTable table)
generates a xml representation with decoded symbols |
IStatement |
getMatchingStatement(IFact fact)
returns a statement matching the given fact, if one was found. |
IStatement |
getStatement(int key)
returns the statement for the given name |
java.util.Iterator |
getStatements()
returns a iterator over all stored statements |
java.lang.String |
toString(ISymbolTable table)
returns a string representation with decoded symbols |
| Method Detail |
public void clear()
public java.util.Iterator getStatements()
public IStatement getStatement(int key)
key - is the namepublic void addStatement(IStatement statement)
public IStatement getMatchingStatement(IFact fact)
public void genXml(java.io.Writer out,
ISymbolTable table)
throws java.io.IOException
out - table - java.io.IOException - public java.lang.String toString(ISymbolTable table)
table -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||