Package org.apache.any23.writer
Interface FormatWriter
-
- All Superinterfaces:
AutoCloseable,TripleHandler
- All Known Implementing Classes:
JSONLDWriter,JSONWriter,NQuadsWriter,NTriplesWriter,RDFWriterTripleHandler,RDFXMLWriter,TriXWriter,TurtleWriter,URIListWriter
public interface FormatWriter extends TripleHandler
Base interface used for the definition of RDF format writers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAnnotated()Iftruethen the produced RDF is annotated with the extractors used to generate the specific statements.voidsetAnnotated(boolean f)Sets the annotation flag.-
Methods inherited from interface org.apache.any23.writer.TripleHandler
close, closeContext, endDocument, openContext, receiveNamespace, receiveTriple, setContentLength, startDocument
-
-
-
-
Method Detail
-
isAnnotated
boolean isAnnotated()
Iftruethen the produced RDF is annotated with the extractors used to generate the specific statements.- Returns:
- the annotation flag value.
-
setAnnotated
void setAnnotated(boolean f)
Sets the annotation flag.- Parameters:
f- Iftruethen the produced RDF is annotated with the extractors used to generate the specific statements.
-
-