| |
|
| java.lang.Object com.opensymphony.xwork.util.location.Located com.opensymphony.xwork.validator.ValidatorConfig
ValidatorConfig | public class ValidatorConfig extends Located (Code) | | Holds the necessary information for configuring an instance of a Validator.
author: James House author: Rainer Hermanns |
ValidatorConfig | public ValidatorConfig()(Code) | | |
ValidatorConfig | public ValidatorConfig(String validatorType, Map params)(Code) | | Parameters: validatorType - Parameters: params - |
getDefaultMessage | public String getDefaultMessage()(Code) | | Returns the defaultMessage for the validator. |
getMessageKey | public String getMessageKey()(Code) | | Returns the messageKey for the validator. |
getParams | public Map getParams()(Code) | | Returns the configured params to set on the validator. |
getType | public String getType()(Code) | | Returns the type of validator to configure. |
isShortCircuit | public boolean isShortCircuit()(Code) | | Returns wether the shortCircuit flag should be set on the validator. |
setDefaultMessage | public void setDefaultMessage(String defaultMessage)(Code) | | Parameters: defaultMessage - The defaultMessage to set on the validator. |
setMessageKey | public void setMessageKey(String messageKey)(Code) | | Parameters: messageKey - The messageKey to set on the validator. |
setParams | public void setParams(Map params)(Code) | | Parameters: params - The configured params to set on the validator. |
setShortCircuit | public void setShortCircuit(boolean shortCircuit)(Code) | | Parameters: shortCircuit - Whether the validator's shortCircuit flag should be set. |
setType | public void setType(String validatorType)(Code) | | Parameters: validatorType - The type of validator to configure. |
|
|
|