Interface ITransformer
-
- All Known Implementing Classes:
AbstractOutputTransformerContainer,AbstractTransformerBehavior,NoopOutputTransformerContainer,XsltOutputTransformerContainer,XsltTransformer,XsltTransformerBehavior
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ITransformerA common interface to be implemented byAbstractOutputTransformerContainers andAbstractTransformerBehaviors which post-process the output markup of a component.- Author:
- Juergen Donnerstag
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequencetransform(Component component, java.lang.CharSequence output)Will be invoked after all child components have been processed to allow for transforming the markup generated.
-
-
-
Method Detail
-
transform
java.lang.CharSequence transform(Component component, java.lang.CharSequence output) throws java.lang.Exception
Will be invoked after all child components have been processed to allow for transforming the markup generated.- Parameters:
component- The associated Wicket componentoutput- The markup generated by the child components- Returns:
- The output which will be appended to the original response
- Throws:
java.lang.Exception
-
-