org.openrdf.rio
Interface RDFWriter

All Superinterfaces:
RDFHandler
All Known Implementing Classes:
N3Writer, NTriplesWriter, PrettyRDFWriter, RDFXMLPrettyWriter, RDFXMLWriter, TriGWriter, TriXWriter, TurtleWriter

public interface RDFWriter
extends RDFHandler

An interface for RDF document writers. To allow RDF document writers to be created through reflection, all implementing classes should define at least two public constructors: one with an OutputStream argument and one with an Writer argument.


Method Summary
 RDFFormat getRDFFormat()
          Gets the RDF format that this RDFWriter uses.
 void setBaseURI(String baseURI)
          The baseURI that should be used in the output.
 
Methods inherited from interface org.openrdf.rio.RDFHandler
endRDF, handleComment, handleNamespace, handleStatement, startRDF
 

Method Detail

getRDFFormat

RDFFormat getRDFFormat()
Gets the RDF format that this RDFWriter uses.


setBaseURI

void setBaseURI(String baseURI)
The baseURI that should be used in the output.

Parameters:
baseURI - The URI associated with the data.


Copyright © 2001-2009 Aduna. All Rights Reserved.