public interface ValidatorFactory
ObjectFactory to build Validator| Modifier and Type | Method and Description |
|---|---|
Validator |
buildValidator(String className,
Map<String,Object> params,
Map<String,Object> extraContext)
Build a Validator of the given type and set the parameters on it
|
Validator buildValidator(String className, Map<String,Object> params, Map<String,Object> extraContext) throws Exception
className - the type of Validator to buildparams - property name -> value Map to set onto the Validator instanceextraContext - a Map of extra context which uses the same keys as the ActionContextException - in case of any errorsCopyright © 2000–2024 Apache Software Foundation. All rights reserved.