Class AlternateRequiredStringValidator
- java.lang.Object
-
- com.opensymphony.xwork2.validator.validators.ValidatorSupport
-
- com.atlassian.confluence.util.misc.AlternateRequiredStringValidator
-
- All Implemented Interfaces:
com.opensymphony.xwork2.validator.ShortCircuitableValidator
,com.opensymphony.xwork2.validator.Validator
public class AlternateRequiredStringValidator extends com.opensymphony.xwork2.validator.validators.ValidatorSupport
-
-
Constructor Summary
Constructors Constructor Description AlternateRequiredStringValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName1()
String
getFieldName2()
void
setFieldName1(String fieldName1)
void
setFieldName2(String fieldName2)
void
validate(Object object)
-
Methods inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getValidatorContext, getValidatorType, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setTextProviderFactory, setValidatorContext, setValidatorType, setValueStack
-
-
-
-
Method Detail
-
validate
public void validate(Object object) throws com.opensymphony.xwork2.validator.ValidationException
- Throws:
com.opensymphony.xwork2.validator.ValidationException
-
getFieldName1
public String getFieldName1()
-
setFieldName1
public void setFieldName1(String fieldName1)
-
getFieldName2
public String getFieldName2()
-
setFieldName2
public void setFieldName2(String fieldName2)
-
-