watch
Class TextTransformation

java.lang.Object
  extended by watch.Transformation
      extended by watch.TextTransformation

 class TextTransformation
extends Transformation

Text transformation. Creates outputs of regular computations that can be displayed in the standard output or stored in output files.


Field Summary
 
Fields inherited from class watch.Transformation
HTML, IDENTITY, SHORT, TEXT, TIMEPLOT
 
Constructor Summary
TextTransformation()
          Constructor.
 
Method Summary
 boolean apply(org.w3c.dom.Document XML_Input, java.lang.String J_OutputFileName)
          Post-computation transformation handler.
 
Methods inherited from class watch.Transformation
applyXsl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextTransformation

public TextTransformation()
Constructor.

Method Detail

apply

public boolean apply(org.w3c.dom.Document XML_Input,
                     java.lang.String J_OutputFileName)
Post-computation transformation handler. Launches an XSL transformation that produces the text output.

Specified by:
apply in class Transformation
Parameters:
XML_Input - XML result of the watch computation.
J_OutputFileName - Name of the file resulting of the transformation.
Returns:
true if success, false otherwise.