|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--prolog.implementation.Fact
|
+--prolog.implementation.AbstractStatement
|
+--prolog.implementation.NodeStatement
Title: NodeStatement
Descrpition: A class abstract base class prepresenting a statement with more than one child statements
| Field Summary | |
protected java.util.List |
childs
stores the child statements |
| Fields inherited from class prolog.implementation.Fact |
name, relation |
| Constructor Summary | |
NodeStatement(int name)
constructor |
|
| Method Summary | |
void |
addStatement(IStatement s)
adds a child statement to this node |
void |
genXml(java.io.Writer out,
ISymbolTable table)
generates a xml representation of this statement |
| Methods inherited from class prolog.implementation.AbstractStatement |
generateFact, generateRelation |
| Methods inherited from class prolog.implementation.Fact |
addAttribute, getName, getRelation, toString, toString |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface prolog.model.IStatement |
query |
| Methods inherited from interface prolog.model.IFact |
getName, getRelation, toString |
| Field Detail |
protected java.util.List childs
| Constructor Detail |
public NodeStatement(int name)
name - | Method Detail |
public void addStatement(IStatement s)
s - is the statement to be added
public void genXml(java.io.Writer out,
ISymbolTable table)
throws java.io.IOException
genXml in interface IFactgenXml in class Factout - is the writer where to append the xmltable - is the symboltable to decode symbolsjava.io.IOException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||