org.apache.wicket.bean.validation
Interface ITagModifier<T extends Annotation>
- All Known Implementing Classes:
- SizeTagModifier
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 the maxlen attribute to the tag
given a Size annotation.
- Author:
- igor
modify
void modify(FormComponent<?> component,
ComponentTag tag,
T annotation)
- Modify the tag
- Parameters:
component - component the tag belongs totag - markup tag to be modifiedannotation - constraint annotation
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.