Class ValidatorMacroImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.validator.ValidatorMacroImpl
-
- All Implemented Interfaces:
ValidatorMacro
public class ValidatorMacroImpl extends java.lang.Object implements ValidatorMacro
-
-
Constructor Summary
Constructors Constructor Description ValidatorMacroImpl(java.util.Map<java.lang.String,java.lang.String> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
ValidatorMacroImpl
public ValidatorMacroImpl(java.util.Map<java.lang.String,java.lang.String> configuration)
-
-
Method Detail
-
valueForMacro
public java.lang.String valueForMacro(java.lang.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 interfaceValidatorMacro
- Returns:
- constraints, or null if no such validator macro
-
-