com.hp.hpl.mesa.rdf.jena.common
Class RDFWriterFImpl

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.common.RDFWriterFImpl
All Implemented Interfaces:
RDFWriterF

public class RDFWriterFImpl
extends java.lang.Object
implements RDFWriterF

Version:
$Revision: 1.5 $ $Date: 2002/01/22 00:00:21 $
Author:
bwm

Constructor Summary
RDFWriterFImpl()
          Creates new RDFReaderFImpl
 
Method Summary
 RDFWriter getWriter()
          return an RDFWriter instance for the default serialization language.
 RDFWriter getWriter(java.lang.String lang)
          an RDFWriter instance for the specified serialization language.
 java.lang.String setWriterClassName(java.lang.String lang, java.lang.String className)
          set the class name for the RDFWriter for a langauge
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFWriterFImpl

public RDFWriterFImpl()
Creates new RDFReaderFImpl
Method Detail

getWriter

public RDFWriter getWriter()
                    throws RDFException
Description copied from interface: RDFWriterF
return an RDFWriter instance for the default serialization language.
Specified by:
getWriter in interface RDFWriterF
Following copied from interface: com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
Returns:
an RDFWriter instance for the default serialization language.

getWriter

public RDFWriter getWriter(java.lang.String lang)
                    throws RDFException
Description copied from interface: RDFWriterF
an RDFWriter instance for the specified serialization language.
Specified by:
getWriter in interface RDFWriterF
Following copied from interface: com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
Parameters:
lang - the serialization langauge - null selects the default
Returns:
the RDFWriter instance

setWriterClassName

public java.lang.String setWriterClassName(java.lang.String lang,
                                           java.lang.String className)
Description copied from interface: RDFWriterF
set the class name for the RDFWriter for a langauge
Specified by:
setWriterClassName in interface RDFWriterF
Following copied from interface: com.hp.hpl.mesa.rdf.jena.model.RDFWriterF
Parameters:
lang - the language for which this class should be used
className - the class name for writers for this language
Returns:
the old class name for this language


Copyright © 2001 Hewlett-Packard. All Rights Reserved.