cage.writer
Class CMLWriter

java.lang.Object
  extended by cage.writer.CaGeWriter
      extended by cage.writer.AbstractChemicalWriter
          extended by cage.writer.CMLWriter
All Implemented Interfaces:
CaGeOutlet

public class CMLWriter
extends AbstractChemicalWriter


Constructor Summary
CMLWriter()
           
 
Method Summary
 java.lang.String encodeResult(CaGeResult result)
           
 java.lang.String getFileExtension()
           
 java.lang.String getFormatName()
           
 void outputResult(CaGeResult result)
          Does the actual output of a result.
 
Methods inherited from class cage.writer.AbstractChemicalWriter
setGeneratorInfo
 
Methods inherited from class cage.writer.CaGeWriter
getDimension, 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
 

Constructor Detail

CMLWriter

public CMLWriter()
Method Detail

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in class CaGeWriter

getFileExtension

public java.lang.String getFileExtension()
Specified by:
getFileExtension in class CaGeWriter

encodeResult

public java.lang.String encodeResult(CaGeResult result)
Specified by:
encodeResult in class AbstractChemicalWriter

outputResult

public void outputResult(CaGeResult result)
Description copied from interface: CaGeOutlet
Does the actual output of a result. This method takes the graph, wrapped in a CaGeResult object, as input and performs the method of output specific to this outlet.

Parameters:
result - a CaGeResult object that needs to be outputted.