public class RDFInserter extends AbstractRDFInserter
| Modifier and Type | Field and Description |
|---|---|
protected RepositoryConnection |
con
The connection to use for the add operations.
|
contexts| Constructor and Description |
|---|
RDFInserter(RepositoryConnection con)
Creates a new RDFInserter object that preserves bnode IDs and that does
not enforce any context upon statements that are reported to it.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNamespace(String prefix,
String name) |
protected void |
addStatement(Resource subj,
URI pred,
Value obj,
Resource ctxt) |
endRDF, enforceContext, enforcesContext, getContexts, handleNamespace, handleStatement, preservesBNodeIDs, setPreserveBNodeIDshandleComment, startRDFprotected final RepositoryConnection con
public RDFInserter(RepositoryConnection con)
con - The connection to use for the add operations.protected void addNamespace(String prefix, String name) throws OpenRDFException
addNamespace in class AbstractRDFInserterOpenRDFExceptionprotected void addStatement(Resource subj, URI pred, Value obj, Resource ctxt) throws OpenRDFException
addStatement in class AbstractRDFInserterOpenRDFExceptionCopyright © 2001-2016 Aduna. All Rights Reserved.