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 boolean
isAnnotated()
Iftrue
then the produced RDF is annotated with the extractors used to generate the specific statements.void
setAnnotated(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()
Iftrue
then 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
- Iftrue
then the produced RDF is annotated with the extractors used to generate the specific statements.
-
-