public class NQuadsSerializer extends NTriplesSerializer implements QuadSink
TripleSink which serializes triples to
CharSink using NTriples syntax.DOT_EOL, SPACE| Modifier and Type | Method and Description |
|---|---|
void |
addNonLiteral(String subj,
String pred,
String obj,
String graph) |
void |
addPlainLiteral(String subj,
String pred,
String content,
String lang,
String graph) |
void |
addTypedLiteral(String subj,
String pred,
String content,
String type,
String graph) |
static QuadSink |
connect(CharSink sink)
Creates instance of TurtleSerializer connected to specified sink.
|
addContent, addNonLiteral, addPlainLiteral, addTypedLiteral, serializeBnodeOrUri, serializeUri, setBaseUri, setPropertyInternal, startTripleendStream, setProperty, startStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNonLiteral, addPlainLiteral, addTypedLiteralendStream, setBaseUri, setProperty, startStreampublic static QuadSink connect(CharSink sink)
sink - sink to be connected topublic void addNonLiteral(String subj, String pred, String obj, String graph)
addNonLiteral in interface QuadSinkpublic void addPlainLiteral(String subj, String pred, String content, String lang, String graph)
addPlainLiteral in interface QuadSinkCopyright © 2012–2016. All rights reserved.