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
Interface WidgetValidatorBuilder

All Known Implementing Classes:
  AssertValidatorBuilder, CaptchaValidatorBuilder, EmailValidatorBuilder, JavaClassValidatorBuilder, JavaScriptValidatorBuilder, LengthValidatorBuilder, Mod10ValidatorBuilder, RangeValidatorBuilder, RegExpValidatorBuilder, ValueCountValidatorBuilder

public interface WidgetValidatorBuilder

Version:
  $Id: WidgetValidatorBuilder.java 587759 2007-10-24 03:00:37Z vgritsenko $

Field Summary
`static String` | `ROLE`

Method Summary
`WidgetValidator` | `build(Element validationRuleElement, WidgetDefinition definition)` Builds a `WidgetValidator` for a particular widget definition.

Field Detail

### ROLE

    public static final String ROLE

Method Detail

### build

    public WidgetValidator build(Element validationRuleElement,
                                 WidgetDefinition definition)
                          throws Exception

  Builds a `WidgetValidator` for a particular widget definition.

  Parameters:
    `validationRuleElement` - the DOM element defining the validator
    `definition` - the widget definition the validator will have to validate. This may be used to check applicability of the validator to the widget.
  Returns:
    A `WidgetValidator`
  Throws:
    `Exception` - if some problem occurs

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.