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 ITransformer
A common interface to be implemented byAbstractOutputTransformerContainer
s andAbstractTransformerBehavior
s 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 CharSequence
transform(Component component, CharSequence output)
Will be invoked after all child components have been processed to allow for transforming the markup generated.
-
-
-
Method Detail
-
transform
CharSequence transform(Component component, CharSequence output) throws 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:
Exception
-
-