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.tapestry5.validator
Interface ValidatorMacro

All Known Implementing Classes:
  ValidatorMacroImpl

    @UsesMappedConfiguration(value=java.lang.String.class)
    public interface ValidatorMacro

Allows support for "validator macros", a simple-minded way of combining several related valiations together under a single name. The service's configuration maps string keys (macro names) to string values (validation constraints).

Since:
  5.2.0

Method Summary
`java.lang.String` | `valueForMacro(java.lang.String validatorMacro)` Given a potential validator macro (a simple string name), returns the value for that macro, a comma-separated list of validation constraints.

Method Detail

### valueForMacro

    java.lang.String valueForMacro(java.lang.String validatorMacro)

  Given a potential validator macro (a simple string name), returns the value for that macro, a comma-separated list of validation constraints.

  Returns:
    constraints, or null if no such validator macro

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 © 2003-2012 The Apache Software Foundation.