com.atlassian.confluence.util.misc
Class AlternateRequiredStringValidator
java.lang.Object
com.opensymphony.xwork.validator.validators.ValidatorSupport
com.atlassian.confluence.util.misc.AlternateRequiredStringValidator
- All Implemented Interfaces:
- com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator
public class AlternateRequiredStringValidator
- extends com.opensymphony.xwork.validator.validators.ValidatorSupport
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
defaultMessage, log, messageKey |
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport |
addActionError, addFieldError, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setShortCircuit, setValidatorContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlternateRequiredStringValidator
public AlternateRequiredStringValidator()
validate
public void validate(java.lang.Object object)
throws com.opensymphony.xwork.validator.ValidationException
- Throws:
com.opensymphony.xwork.validator.ValidationException
getFieldName1
public java.lang.String getFieldName1()
setFieldName1
public void setFieldName1(java.lang.String fieldName1)
getFieldName2
public java.lang.String getFieldName2()
setFieldName2
public void setFieldName2(java.lang.String fieldName2)
Copyright © 2003-2013 Atlassian. All Rights Reserved.