Package org.apache.tools.ant.taskdefs
Interface XSLTLiaison
- All Known Subinterfaces:
XSLTLiaison2
,XSLTLiaison3
,XSLTLiaison4
- All Known Implementing Classes:
TraXLiaison
public interface XSLTLiaison
Proxy interface for XSLT processors.
- Since:
- Ant 1.1
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a parameter to be set during the XSL transformation.void
setStylesheet
(File stylesheet) set the stylesheet to use for the transformation.void
Perform the transformation of a file into another.
-
Field Details
-
FILE_PROTOCOL_PREFIX
the file protocol prefix for systemid. This file protocol must be appended to an absolute path. Typically:FILE_PROTOCOL_PREFIX + file.getAbsolutePath()
Note that on Windows, an extra '/' must be appended to the protocol prefix so that there is always 3 consecutive slashes.- Since:
- Ant 1.4
- See Also:
-
-
Method Details
-
setStylesheet
-
addParam
-
transform
Perform the transformation of a file into another.- Parameters:
infile
- the input file, probably an XML one. :-)outfile
- the output file resulting from the transformation- Throws:
Exception
- thrown if any problems happens.- Since:
- Ant 1.4
- See Also:
-