public class StatementWriter extends AbstractModelWriter implements ModelWriter
Constructor and Description |
---|
StatementWriter(Writer w,
URI graphName) |
Modifier and Type | Method and Description |
---|---|
void |
addStatement(Resource subject,
URI predicate,
Node object)
adds a (subject, property ,object)-statement to this model
|
void |
close() |
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement
public StatementWriter(Writer w, URI graphName) throws IOException
w
- writerIOException
- from writerpublic void close() throws IOException
IOException
public void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelWriter
addStatement
in interface ModelWriter
addStatement
in class AbstractModelWriter
subject
- of the statementpredicate
- of the statementobject
- of the statementModelRuntimeException
- if there is either an error with the
underlying model or an IOException
Copyright © 2005–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.