Package org.apache.tapestry5.validator
Interface ValidatorMacro
- All Known Implementing Classes:
ValidatorMacroImpl
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
Modifier and TypeMethodDescriptionvalueForMacro
(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 Details
-
valueForMacro
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
-