|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.triple.application.ExternalPrologCallback
Implementation of Callback to generate output usable for external Prologs like XSB.
| Constructor Summary | |
ExternalPrologCallback()
|
|
ExternalPrologCallback(java.io.PrintWriter writer)
|
|
| Method Summary | |
void |
addStatement(Statement s)
|
void |
endModel()
end is called when parsing of data is ended |
NodeFactory |
getNodeFactory()
node factory to be used by the parser for creating resources and literals passed to addStatement |
void |
nextClause(LTerm lclause,
Context context)
|
void |
setRDFNamespace(Resource namespace)
|
void |
startModel()
start is called when parsing of data is started |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExternalPrologCallback()
public ExternalPrologCallback(java.io.PrintWriter writer)
| Method Detail |
public void setRDFNamespace(Resource namespace)
public void nextClause(LTerm lclause,
Context context)
nextClause in interface Callback
public void startModel()
throws ModelException
ModelException
public void endModel()
throws ModelException
ModelException
public NodeFactory getNodeFactory()
throws ModelException
ModelException
public void addStatement(Statement s)
throws ModelException
ModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||