org.apache.any23.writer
Interface FormatWriter

All Superinterfaces:
TripleHandler
All Known Implementing Classes:
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
 boolean isAnnotated()
          If true 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()
If true 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 - If true then the produced RDF is annotated with the extractors used to generate the specific statements.


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.