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.
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 the
maxlen
attribute to the tag
given a Size
annotation.- Author:
- igor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
modify
(FormComponent<?> component, ComponentTag tag, T annotation) Modify the tag
-
Field Details
-
NO_OP
-
-
Method Details
-
modify
Modify the tag- Parameters:
component
- component the tag belongs totag
- markup tag to be modifiedannotation
- constraint annotation
-