toxTree.tree
Class AbstractTreePrinter

java.lang.Object
  extended by toxTree.tree.AbstractTreePrinter
All Implemented Interfaces:
IProcessRule
Direct Known Subclasses:
AbstractTreeWriter, PDFTreePrinter

public abstract class AbstractTreePrinter
extends java.lang.Object
implements IProcessRule


Field Summary
protected  ambit2.rendering.CompoundImageTools imageTools
           
protected  java.io.OutputStream outputStream
           
 
Constructor Summary
AbstractTreePrinter()
           
AbstractTreePrinter(java.io.OutputStream outputStream)
           
 
Method Summary
 void done()
           
protected  java.io.OutputStream getOutputStream()
           
protected  void setOutputStream(java.io.OutputStream outputStream)
           
protected  void writeMolecule(IDecisionRule rule, boolean answer, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface toxTree.core.IProcessRule
init, process
 

Field Detail

outputStream

protected java.io.OutputStream outputStream

imageTools

protected ambit2.rendering.CompoundImageTools imageTools
Constructor Detail

AbstractTreePrinter

public AbstractTreePrinter()

AbstractTreePrinter

public AbstractTreePrinter(java.io.OutputStream outputStream)
Method Detail

setOutputStream

protected void setOutputStream(java.io.OutputStream outputStream)

getOutputStream

protected java.io.OutputStream getOutputStream()

done

public void done()
          throws DecisionMethodIOException
Specified by:
done in interface IProcessRule
Throws:
DecisionMethodIOException

writeMolecule

protected void writeMolecule(IDecisionRule rule,
                             boolean answer,
                             java.io.OutputStream out)
                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.