rvl.swv
Class SWVEngine

java.lang.Object
  extended by rvl.swv.AbstractEngine
      extended by rvl.swv.SWVEngine
All Implemented Interfaces:
EngineInterface

public class SWVEngine
extends AbstractEngine

Engine for StatWeave code. For LaTeX files only! -- Configure to produce a tex target


Field Summary
 
Fields inherited from class rvl.swv.AbstractEngine
codeExt, commentEnd, commentStart, endCode, engineName, medExt, okfigfmts, outExt, startupCode
 
Constructor Summary
SWVEngine()
           
 
Method Summary
 void putComment(java.lang.String text)
          StatWeave does not support commebnts, so putComment is overridden to do nothing at all
 void putExpr(java.lang.String expr)
          Evaluate an expression and put it in the output stream
 void putSeparator(java.lang.String text)
          Put code that will add the given text in a separate line of the engine's output.
 FigFile setupFig(java.lang.String chunkName)
          StatWeave itself does not produce graphics.
 
Methods inherited from class rvl.swv.AbstractEngine
closeCodeFile, closeFig, deleteCodeFile, getFileNames, openCodeFile, postProcess, putCode, putStartup, runCode, setBinary, setParents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWVEngine

public SWVEngine()
Method Detail

putComment

public void putComment(java.lang.String text)
StatWeave does not support commebnts, so putComment is overridden to do nothing at all

Specified by:
putComment in interface EngineInterface
Overrides:
putComment in class AbstractEngine

putSeparator

public void putSeparator(java.lang.String text)
Description copied from class: AbstractEngine
Put code that will add the given text in a separate line of the engine's output. This is used by the parent to keep track of beginnings and ends of output chunks.

Specified by:
putSeparator in interface EngineInterface
Overrides:
putSeparator in class AbstractEngine

putExpr

public void putExpr(java.lang.String expr)
Description copied from class: AbstractEngine
Evaluate an expression and put it in the output stream

Specified by:
putExpr in interface EngineInterface
Overrides:
putExpr in class AbstractEngine

setupFig

public FigFile setupFig(java.lang.String chunkName)
StatWeave itself does not produce graphics. However, child processes thereof may produce graphics, in which case the resulting tex file will have the needed \includegraphics statements

Specified by:
setupFig in interface EngineInterface
Overrides:
setupFig in class AbstractEngine
Returns:
null if no format can be found; otherwise the object can be used by the extending class to finish setting up the figure.