Interface XSLTLiaison4

All Superinterfaces:
XSLTLiaison, XSLTLiaison2, XSLTLiaison3
All Known Implementing Classes:
TraXLiaison

public interface XSLTLiaison4
extends XSLTLiaison3
Extends Proxy interface for XSLT processors: adds support for XSLT parameters of various types (not only String)
Since:
Ant 1.9.3
Author:
Frantisek Kucera (xkucf03)
See Also:
XSLTProcess
  • Method Details

    • addParam

      void addParam​(java.lang.String name, java.lang.Object value) throws java.lang.Exception
      Add a parameter to be set during the XSL transformation.
      Parameters:
      name - the parameter name.
      value - the parameter value as String, Boolean, int, etc.
      Throws:
      java.lang.Exception - thrown if any problems happens.
      Since:
      Ant 1.9.3
      See Also:
      Transformer.setParameter(java.lang.String, java.lang.Object)