watch
Class HtmlTransformation

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

 class HtmlTransformation
extends Transformation

HTML transformation.


Field Summary
 
Fields inherited from class watch.Transformation
HTML, IDENTITY, SHORT, TEXT, TIMEPLOT
 
Constructor Summary
HtmlTransformation()
          Constructor.
 
Method Summary
 boolean apply(org.w3c.dom.Document XML_Input, java.lang.String J_OutputFileName)
          Post-computation transformation handler.
static boolean copyResourcesWith(java.lang.String J_OutputFileName)
          Copy HTML resources next to the output file.
 
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

HtmlTransformation

public HtmlTransformation()
Constructor.

Method Detail

apply

public boolean apply(org.w3c.dom.Document XML_Input,
                     java.lang.String J_OutputFileName)
Post-computation transformation handler.

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. null corresponds to the standard output.
Returns:
true if success, false otherwise.
See Also:
Transformation.apply(org.w3c.dom.Document, java.lang.String)

copyResourcesWith

public static final boolean copyResourcesWith(java.lang.String J_OutputFileName)
Copy HTML resources next to the output file.

Parameters:
J_OutputFileName - Output file to copy the resources next to.
Returns:
true if success, false otherwise.