Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.forms.validation.impl
Class CaptchaValidator

    java.lang.Object
      org.apache.cocoon.forms.validation.impl.CaptchaValidator

All Implemented Interfaces:
  WidgetValidator

public class CaptchaValidator
extends Object
implements WidgetValidator

A `WidgetValidator` that relies on a CAPTCHA test.

Version:
  $Id: CaptchaValidator.java 587759 2007-10-24 03:00:37Z vgritsenko $
See Also:
  www.captcha.net

Constructor Summary
`CaptchaValidator()`

Method Summary
`boolean` | `validate(Widget widget)` Validate a widget.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CaptchaValidator

    public CaptchaValidator()

Method Detail

### validate

    public boolean validate(Widget widget)

  Description copied from interface: `WidgetValidator`
  Validate a widget.

  Specified by:
    `validate` in interface `WidgetValidator`
  Parameters:
    `widget` - the widget to validate
  Returns:
    `true` if validation was successful. If not, the validator must have set a `ValidationError` on the widget or one of its children.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.