|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ontoware.rdf2go.model.impl.AbstractModelWriter
org.ontoware.rdf2go.model.impl.StatementWriter
public class StatementWriter
Writes a simple Model in TRiX syntax, using a given context URI.
| Constructor Summary | |
|---|---|
StatementWriter(java.io.Writer w,
URI graphName)
|
|
| Method Summary | |
|---|---|
void |
addStatement(Resource subject,
URI predicate,
Node object)
|
void |
close()
|
| Methods inherited from class org.ontoware.rdf2go.model.impl.AbstractModelWriter |
|---|
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ontoware.rdf2go.model.ModelWriter |
|---|
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement |
| Constructor Detail |
|---|
public StatementWriter(java.io.Writer w,
URI graphName)
throws java.io.IOException
w -
java.io.IOException| Method Detail |
|---|
public void close()
throws java.io.IOException
java.io.IOException
public void addStatement(Resource subject,
URI predicate,
Node object)
throws ModelRuntimeException
addStatement in interface ModelWriteraddStatement in class AbstractModelWriterModelRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||