Class Form.ValidationVisitor
- java.lang.Object
-
- org.apache.wicket.markup.html.form.Form.ValidationVisitor
-
- All Implemented Interfaces:
IVisitor<FormComponent<?>,Void>
public abstract static class Form.ValidationVisitor extends Object implements IVisitor<FormComponent<?>,Void>
Visitor used for validation- Author:
- Igor Vaynberg (ivaynberg)
-
-
Constructor Summary
Constructors Constructor Description ValidationVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
component(FormComponent<?> formComponent, IVisit<Void> visit)
Called at each object in a visit.abstract void
validate(FormComponent<?> formComponent)
Callback that should be used to validate form component
-
-
-
Constructor Detail
-
ValidationVisitor
public ValidationVisitor()
-
-
Method Detail
-
component
public void component(FormComponent<?> formComponent, IVisit<Void> visit)
Description copied from interface:IVisitor
Called at each object in a visit.- Specified by:
component
in interfaceIVisitor<FormComponent<?>,Void>
- Parameters:
formComponent
- Object being visitedvisit
- Object used to control the visit/traversal
-
validate
public abstract void validate(FormComponent<?> formComponent)
Callback that should be used to validate form component- Parameters:
formComponent
-
-
-