cage.writer
Class AbstractChemicalWriter

java.lang.Object
  extended by cage.writer.CaGeWriter
      extended by cage.writer.AbstractChemicalWriter
All Implemented Interfaces:
CaGeOutlet
Direct Known Subclasses:
CMLWriter, NativeCMLWriter, NativePDBWriter

public abstract class AbstractChemicalWriter
extends CaGeWriter


Constructor Summary
AbstractChemicalWriter()
           
 
Method Summary
abstract  java.lang.String encodeResult(CaGeResult result)
           
 void setGeneratorInfo(GeneratorInfo generatorInfo)
          Sets the generator info provided for this outlet.
 
Methods inherited from class cage.writer.CaGeWriter
getDimension, getFileExtension, getFormatName, lastIOException, setDimension, setOutputStream, stop, throwLastIOException, usesInfo, wasIOException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cage.CaGeOutlet
outputResult
 

Constructor Detail

AbstractChemicalWriter

public AbstractChemicalWriter()
Method Detail

setGeneratorInfo

public void setGeneratorInfo(GeneratorInfo generatorInfo)
Description copied from interface: CaGeOutlet
Sets the generator info provided for this outlet. This info can contain hints for the output such as GeneratorInfo.isReembed2DEnabled().

Specified by:
setGeneratorInfo in interface CaGeOutlet
Overrides:
setGeneratorInfo in class CaGeWriter
Parameters:
generatorInfo - the generator info provided for this outlet

encodeResult

public abstract java.lang.String encodeResult(CaGeResult result)