XSLTLiaison2 (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.taskdefs, interface: XSLTLiaison2

# Interface XSLTLiaison2

All Superinterfaces:
  `XSLTLiaison`

All Known Subinterfaces:
  `XSLTLiaison3, XSLTLiaison4`

All Known Implementing Classes:
  `TraXLiaison`

public interface XSLTLiaison2 extends XSLTLiaison
Extended Proxy interface for XSLT processors.

Since:
  Ant 1.6
See Also:
  - `XSLTProcess`

- ## Field Summary

  ### Fields inherited from interface XSLTLiaison

  `FILE_PROTOCOL_PREFIX`
  Modifier and Type
  Field
  Description
  `static final String`
  `FILE_PROTOCOL_PREFIX`
  the file protocol prefix for systemid.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `configure(XSLTProcess xsltTask)`
  Configure the liaison from the XSLTProcess task

  ### Methods inherited from interface XSLTLiaison

  `addParam, setStylesheet, transform`
  Modifier and Type
  Method
  Description
  `void`
  `addParam(String name, String expression)`
  Add a parameter to be set during the XSL transformation.
  `void`
  `setStylesheet(File stylesheet)`
  set the stylesheet to use for the transformation.
  `void`
  `transform(File infile, File outfile)`
  Perform the transformation of a file into another.

- ## Method Details

  - ### configure

    void configure(XSLTProcess xsltTask)
    Configure the liaison from the XSLTProcess task
    Parameters:
      `xsltTask` - the XSLTProcess task