public abstract class BaseGraphReader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Context |
context |
protected Term |
qnameTerm |
protected Term |
term |
| Constructor and Description |
|---|
BaseGraphReader() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
beginNamedGraph(org.openrdf.model.Resource subject) |
protected void |
beginSubject(org.openrdf.model.Resource subject,
Term qname,
Term idTerm) |
protected void |
endNamedGraph(Object state) |
protected void |
endPredicate(org.openrdf.model.URI predicate,
int objectCount) |
protected void |
endRDF() |
protected void |
endSubject() |
protected void |
handleContext(Context context) |
protected void |
handleObject(org.openrdf.model.Value value,
Term term,
Term qnameTerm) |
protected void |
handleStatement(org.openrdf.model.Resource subject,
org.openrdf.model.URI predicate,
org.openrdf.model.Value object) |
protected void |
read(byte[] data,
ContextManager manager)
Read binary data into a specified Graph.
|
protected void |
startPredicate(org.openrdf.model.URI predicate,
Term term,
Term qnameTerm,
int objectCount) |
protected void |
startRDF() |
protected Context context
protected Term qnameTerm
protected Term term
protected void read(byte[] data,
ContextManager manager)
throws KonigReadException
data - The data that is to be readgraph - The graph into which the data will be readmanager - A ContextManager that can be used to fetch the Context that governs the dataIOExceptionKonigReadExceptionprotected void startRDF()
protected void handleContext(Context context)
protected void beginSubject(org.openrdf.model.Resource subject,
Term qname,
Term idTerm)
protected void endSubject()
protected void startPredicate(org.openrdf.model.URI predicate,
Term term,
Term qnameTerm,
int objectCount)
protected void endPredicate(org.openrdf.model.URI predicate,
int objectCount)
protected void handleStatement(org.openrdf.model.Resource subject,
org.openrdf.model.URI predicate,
org.openrdf.model.Value object)
protected void endRDF()
protected Object beginNamedGraph(org.openrdf.model.Resource subject)
protected void endNamedGraph(Object state)
Copyright © 2019. All rights reserved.