org.exolab.adaptx.util
public class JakartaAntAdapter extends Object implements XSLTLiaison
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
| Constructor Summary | |
|---|---|
| JakartaAntAdapter()
Creates a new adapter class for Jakarta ANT.
| |
| Method Summary | |
|---|---|
| void | addParam(String name, String expression)
Add a parameter to be set during the XSL transformation.
|
| void | setStylesheet(File stylesheet)
Sets the stylesheet to use for the transformation.
|
| void | transform(File infile, File outfile)
Perform the transformation of a file into another.
|
Parameters: name the parameter name. expression the parameter value as an expression string.
Throws: Exception thrown if any problems happens.
Parameters: stylesheet the stylesheet to be used for transformation.