Interface ITagModifier<T extends Annotation>
-
- All Known Implementing Classes:
SizeTagModifier
- 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 ITagModifier<T extends Annotation>
An object that can modify a component's markup tag during render based on values of a constraint annotation. An example would be a modifier that adds themaxlenattribute to the tag given aSizeannotation.- Author:
- igor
-
-
Field Summary
Fields Modifier and Type Field Description static ITagModifier<?>NO_OP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmodify(org.apache.wicket.markup.html.form.FormComponent<?> component, org.apache.wicket.markup.ComponentTag tag, T annotation)Modify the tag
-
-
-
Field Detail
-
NO_OP
static final ITagModifier<?> NO_OP
-
-