Package org.apache.struts2.validator
Class ValidatorConfig
java.lang.Object
org.apache.struts2.util.location.Located
org.apache.struts2.validator.ValidatorConfig
- All Implemented Interfaces:
- Locatable
Holds the necessary information for configuring an instance of a Validator.
- Author:
- James House, Rainer Hermanns, tm_jee, Martin Gilday
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilds a ValidatorConfig
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.struts2.util.location.LocatedgetLocation, setLocation
- 
Constructor Details- 
ValidatorConfig- Parameters:
- validatorType- validator type
 
- 
ValidatorConfig
 
- 
- 
Method Details- 
getDefaultMessage- Returns:
- Returns the defaultMessage for the validator.
 
- 
getMessageKey- Returns:
- Returns the messageKey for the validator.
 
- 
isShortCircuitpublic boolean isShortCircuit()- Returns:
- Returns wether the shortCircuit flag should be set on the validator.
 
- 
getParams- Returns:
- Returns the configured params to set on the validator.
 
- 
getType- Returns:
- Returns the type of validator to configure.
 
- 
getMessageParams- Returns:
- The i18n message parameters/arguments to be used.
 
 
-