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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `valueForMacro(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

          String valueForMacro(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

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.