org.apache.tapestry5.internal.validator

## Class ValidatorMacroImpl

- java.lang.Object
- - org.apache.tapestry5.internal.validator.ValidatorMacroImpl

- All Implemented Interfaces:
    ValidatorMacro

      public class ValidatorMacroImpl
      extends Object
      implements ValidatorMacro

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ValidatorMacroImpl(Map<String,String> configuration)`

  - ### Method Summary

    All Methods Instance Methods Concrete 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ValidatorMacroImpl

          public ValidatorMacroImpl(Map<String,String> configuration)

  - ### Method Detail

    - #### valueForMacro

          public String valueForMacro(String validatorMacro)

      Description copied from interface: `ValidatorMacro`
      Given a potential validator macro (a simple string name), returns the value for that macro, a comma-separated list of validation constraints.
      Specified by:
        `valueForMacro` in interface `ValidatorMacro`
      Returns:
        constraints, or null if no such validator macro

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