public interface ValidatorFileParser
Validator
s
registered with XWork.
ValidatorConfig
Modifier and Type | Method and Description |
---|---|
List<ValidatorConfig> |
parseActionValidatorConfigs(ValidatorFactory validatorFactory,
InputStream is,
String resourceName)
Parse resource for a list of ValidatorConfig objects (configuring which validator(s) are
being applied to a particular field etc.)
|
void |
parseValidatorDefinitions(Map<String,String> validators,
InputStream is,
String resourceName)
Parses validator definitions (register various validators with XWork).
|
List<ValidatorConfig> parseActionValidatorConfigs(ValidatorFactory validatorFactory, InputStream is, String resourceName)
validatorFactory
- a validator factoryis
- input stream to the resourceresourceName
- file name of the resourcevoid parseValidatorDefinitions(Map<String,String> validators, InputStream is, String resourceName)
validators
- map of validatorsis
- The input streamresourceName
- The location of the input streamCopyright © 2000–2020 Apache Software Foundation. All rights reserved.