public interface QuadSink extends TripleSink
Modifier and Type | Method and Description |
---|---|
void |
addNonLiteral(String subj,
String pred,
String obj,
String graph)
Callback for handling triples with non literal object
|
void |
addPlainLiteral(String subj,
String pred,
String content,
String lang,
String graph)
Callback for handling triples with plain literal objects
|
void |
addTypedLiteral(String subj,
String pred,
String content,
String type,
String graph)
Callback for handling triples with typed literal objects
|
addNonLiteral, addPlainLiteral, addTypedLiteral
endStream, setBaseUri, setProperty, startStream
void addNonLiteral(String subj, String pred, String obj, String graph)
subj
- subject's IRI or BNode namepred
- predicate's IRIobj
- object's IRI or BNode namegraph
- graph's IRIvoid addPlainLiteral(String subj, String pred, String content, String lang, String graph)
subj
- subject's IRI or BNode namepred
- predicate's IRIcontent
- unescaped string representation of contentlang
- content's lang, can be null if no language specifiedgraph
- graph's IRIvoid addTypedLiteral(String subj, String pred, String content, String type, String graph)
subj
- subject's IRI or BNode namepred
- predicate's IRIcontent
- unescaped string representation of contenttype
- literal datatype's IRIgraph
- graph's IRICopyright © 2012–2013. All rights reserved.