org.openrdf.rio.rdfxml
Class RDFXMLWriterFactory

java.lang.Object
  extended by org.openrdf.rio.rdfxml.RDFXMLWriterFactory
All Implemented Interfaces:
RDFWriterFactory

public class RDFXMLWriterFactory
extends java.lang.Object
implements RDFWriterFactory

An RDFWriterFactory for RDF/XML writers.

Author:
Arjohn Kampman

Constructor Summary
RDFXMLWriterFactory()
           
 
Method Summary
 RDFFormat getRDFFormat()
          Returns RDFFormat.RDFXML.
 RDFWriter getWriter(java.io.OutputStream out)
          Returns a new instance of RDFXMLWriter.
 RDFWriter getWriter(java.io.Writer writer)
          Returns a new instance of RDFXMLWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFXMLWriterFactory

public RDFXMLWriterFactory()
Method Detail

getRDFFormat

public RDFFormat getRDFFormat()
Returns RDFFormat.RDFXML.

Specified by:
getRDFFormat in interface RDFWriterFactory

getWriter

public RDFWriter getWriter(java.io.OutputStream out)
Returns a new instance of RDFXMLWriter.

Specified by:
getWriter in interface RDFWriterFactory
Parameters:
out - The OutputStream to write the RDF to.

getWriter

public RDFWriter getWriter(java.io.Writer writer)
Returns a new instance of RDFXMLWriter.

Specified by:
getWriter in interface RDFWriterFactory
Parameters:
writer - The Writer to write the RDF to.


Copyright © 2001-2010 Aduna. All Rights Reserved.