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, addStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatementpublic StatementWriter(Writer w, URI graphName) throws IOException
w - writerIOException - from writerpublic void close()
throws IOException
IOExceptionpublic void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelWriteraddStatement in interface ModelWriteraddStatement in class AbstractModelWritersubject - of the statementpredicate - of the statementobject - of the statementModelRuntimeException - if there is either an error with the
underlying model or an IOExceptionCopyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.