org.apache.wicket.markup.html.form
Class Form.ValidationVisitor

java.lang.Object
  extended by org.apache.wicket.markup.html.form.Form.ValidationVisitor
All Implemented Interfaces:
IVisitor<FormComponent<?>,Void>
Enclosing class:
Form<T>

public abstract static class Form.ValidationVisitor
extends Object
implements IVisitor<FormComponent<?>,Void>

Visitor used for validation

Author:
Igor Vaynberg (ivaynberg)

Constructor Summary
Form.ValidationVisitor()
           
 
Method Summary
 void component(FormComponent<?> formComponent, IVisit<Void> visit)
           
abstract  void validate(FormComponent<?> formComponent)
          Callback that should be used to validate form component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Form.ValidationVisitor

public Form.ValidationVisitor()
Method Detail

component

public void component(FormComponent<?> formComponent,
                      IVisit<Void> visit)
Specified by:
component in interface IVisitor<FormComponent<?>,Void>

validate

public abstract void validate(FormComponent<?> formComponent)
Callback that should be used to validate form component

Parameters:
formComponent -


Copyright © 2006–2016 Apache Software Foundation. All rights reserved.