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:
FormComponent.IVisitor
Enclosing class:
Form<T>

public abstract static class Form.ValidationVisitor
extends Object
implements FormComponent.IVisitor

Visitor used for validation

Author:
Igor Vaynberg (ivaynberg)

Constructor Summary
Form.ValidationVisitor()
           
 
Method Summary
 Object formComponent(IFormVisitorParticipant component)
          Called when visiting a form component
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

formComponent

public Object formComponent(IFormVisitorParticipant component)
Description copied from interface: FormComponent.IVisitor
Called when visiting a form component

Specified by:
formComponent in interface FormComponent.IVisitor
Parameters:
component - The form component
Returns:
component
See Also:
FormComponent.IVisitor.formComponent(org.apache.wicket.markup.html.form.IFormVisitorParticipant)

validate

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

Parameters:
formComponent -


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.