watch
Class IdentityTransformation

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

 class IdentityTransformation
extends Transformation

Identity transformation. Permits the production of the post-computation XML result as is.


Field Summary
 
Fields inherited from class watch.Transformation
HTML, IDENTITY, SHORT, TEXT, TIMEPLOT
 
Constructor Summary
IdentityTransformation()
          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

IdentityTransformation

public IdentityTransformation()
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)