com.atlassian.confluence.util.misc
Class AlternateRequiredStringValidator

java.lang.Object
  extended by com.opensymphony.xwork.validator.validators.ValidatorSupport
      extended by 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


Field Summary
 
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
defaultMessage, log, messageKey
 
Constructor Summary
AlternateRequiredStringValidator()
           
 
Method Summary
 String getFieldName1()
           
 String getFieldName2()
           
 void setFieldName1(String fieldName1)
           
 void setFieldName2(String fieldName2)
           
 void validate(Object object)
           
 
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
 

Constructor Detail

AlternateRequiredStringValidator

public AlternateRequiredStringValidator()
Method Detail

validate

public void validate(Object object)
              throws com.opensymphony.xwork.validator.ValidationException
Throws:
com.opensymphony.xwork.validator.ValidationException

getFieldName1

public String getFieldName1()

setFieldName1

public void setFieldName1(String fieldName1)

getFieldName2

public String getFieldName2()

setFieldName2

public void setFieldName2(String fieldName2)


Copyright © 2003-2012 Atlassian. All Rights Reserved.