Class XsltTransformer

java.lang.Object
org.apache.wicket.markup.transformer.XsltTransformer
All Implemented Interfaces:
ITransformer

public class XsltTransformer extends Object implements ITransformer
A processor to XSLT transform the output generated by a Component.
Author:
Juergen Donnerstag
See Also:
  • Constructor Details

  • Method Details

    • transform

      public CharSequence transform(Component component, CharSequence output) throws Exception
      Apply a XSL transformation to the markup generated by a component. The *.xsl resource must be located in the same path as the nearest parent with an associated markup and must have a filename equal to the component's id.
      Specified by:
      transform in interface ITransformer
      Parameters:
      component - The associated Wicket component
      output - The markup generated by the child components
      Returns:
      The output which will be appended to the original response
      Throws:
      Exception