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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
ValidationVisitor
public ValidationVisitor()
-
-
Method Details
-
component
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
Callback that should be used to validate form component- Parameters:
formComponent
-
-