|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
this is the base interface for a relation with a name.
prolog: myFact(dan,joe).
in this example, "myFact" is the name and the parameters "dan" and "joe" are the atoms in the relation.
| Method Summary | |
void |
genXml(java.io.Writer out,
ISymbolTable table)
generates xml describing this object |
int |
getName()
returns the name of this fact |
IRelation |
getRelation()
returns the relalation this fact owns |
java.lang.String |
toString(ISymbolTable table)
returns a string representation of this oject, if the parameter ISymbolTable is specified, the symbols are decoded |
| Method Detail |
public IRelation getRelation()
public int getName()
public java.lang.String toString(ISymbolTable table)
table - is the ISymbolTable required to decode the output
public void genXml(java.io.Writer out,
ISymbolTable table)
throws java.io.IOException
out - the writer to append the xmltable - the symboltable to decode the symbolsjava.io.IOException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||