watch
Class XslTransformation

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

 class XslTransformation
extends Transformation

User-defined XSL output transformation class.


Field Summary
 
Fields inherited from class watch.Transformation
HTML, IDENTITY, SHORT, TEXT, TIMEPLOT
 
Constructor Summary
XslTransformation(java.lang.String J_XslFileName)
          Constructor.
 
Method Summary
 boolean apply(org.w3c.dom.Document W_Input, java.lang.String J_OutputFileName)
          User-defined XSL transformation application.
 
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

XslTransformation

public XslTransformation(java.lang.String J_XslFileName)
Constructor.

Parameters:
J_XslFileName - User defined XSL stylesheet file name.
Method Detail

apply

public boolean apply(org.w3c.dom.Document W_Input,
                     java.lang.String J_OutputFileName)
User-defined XSL transformation application.

Specified by:
apply in class Transformation
Parameters:
W_Input - Input XML document representative of the Watch computation.
J_OutputFileName - Output file name.
Returns:
true if success, false otherwise.