jaxx.runtime.validator.field
Class FieldExpressionWithParamsValidator

java.lang.Object
  extended by com.opensymphony.xwork2.validator.validators.ValidatorSupport
      extended by com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
          extended by com.opensymphony.xwork2.validator.validators.FieldExpressionValidator
              extended by jaxx.runtime.validator.field.FieldExpressionWithParamsValidator
All Implemented Interfaces:
com.opensymphony.xwork2.validator.FieldValidator, com.opensymphony.xwork2.validator.ShortCircuitableValidator, com.opensymphony.xwork2.validator.Validator

Deprecated. since 2.2.4, the code is moved into the org.nuiton:nuiton-validator project, will be removed in version 2.3

@Deprecated
public class FieldExpressionWithParamsValidator
extends com.opensymphony.xwork2.validator.validators.FieldExpressionValidator

Extends FieldExpressionValidator to add some extra parameters available in the FieldExpressionValidator.getExpression()

Since:
1.3
Author:
tchemit

Field Summary
protected  String booleanParams
          Deprecated.  
protected  Map<String,Boolean> booleans
          Deprecated.  
protected  String doubleParams
          Deprecated.  
protected  Map<String,Double> doubles
          Deprecated.  
protected static Pattern EXTRA_BOOLEAN_PARAM_ENTRY_PATTERN
          Deprecated.  
protected static Pattern EXTRA_DOUBLE_PARAM_ENTRY_PATTERN
          Deprecated.  
protected static Pattern EXTRA_INT_PARAM_ENTRY_PATTERN
          Deprecated.  
protected static Pattern EXTRA_LONG_PARAM_ENTRY_PATTERN
          Deprecated.  
protected static Pattern EXTRA_SHORT_PARAM_ENTRY_PATTERN
          Deprecated.  
protected static Pattern EXTRA_STRING_PARAM_ENTRY_PATTERN
          Deprecated.  
protected  String intParams
          Deprecated.  
protected  Map<String,Integer> ints
          Deprecated.  
protected  String longParams
          Deprecated.  
protected  Map<String,Long> longs
          Deprecated.  
protected  String shortParams
          Deprecated.  
protected  Map<String,Short> shorts
          Deprecated.  
protected  com.opensymphony.xwork2.util.ValueStack stack
          Deprecated.  
protected  String stringParams
          Deprecated.  
protected  Map<String,String> strings
          Deprecated.  
 
Fields inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
defaultMessage, log, messageKey
 
Constructor Summary
FieldExpressionWithParamsValidator()
          Deprecated.  
 
Method Summary
 String getBooleanParams()
          Deprecated.  
 Map<String,Boolean> getBooleans()
          Deprecated.  
 String getDoubleParams()
          Deprecated.  
 Map<String,Double> getDoubles()
          Deprecated.  
 String getIntParams()
          Deprecated.  
 Map<String,Integer> getInts()
          Deprecated.  
 String getLongParams()
          Deprecated.  
 Map<String,Long> getLongs()
          Deprecated.  
 String getShortParams()
          Deprecated.  
 Map<String,Short> getShorts()
          Deprecated.  
 String getStringParams()
          Deprecated.  
 Map<String,String> getStrings()
          Deprecated.  
 String getValidatorType()
          Deprecated.  
protected
<T> Map<String,T>
initParams(Class<T> klass, String extraParams, Pattern pattern)
          Deprecated.  
 void setBooleanParams(String booleanParams)
          Deprecated.  
 void setDoubleParams(String doubleParams)
          Deprecated.  
 void setIntParams(String intParams)
          Deprecated.  
 void setLongParams(String longParams)
          Deprecated.  
 void setShortParams(String shortParams)
          Deprecated.  
 void setStringParams(String stringParams)
          Deprecated.  
 void setValueStack(com.opensymphony.xwork2.util.ValueStack stack)
          Deprecated.  
 void validate(Object object)
          Deprecated.  
 
Methods inherited from class com.opensymphony.xwork2.validator.validators.FieldExpressionValidator
getExpression, setExpression
 
Methods inherited from class com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
getFieldName, setFieldName, setValidatorType
 
Methods inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork2.validator.Validator
getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext
 

Field Detail

EXTRA_BOOLEAN_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_BOOLEAN_PARAM_ENTRY_PATTERN
Deprecated. 

EXTRA_SHORT_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_SHORT_PARAM_ENTRY_PATTERN
Deprecated. 

EXTRA_INT_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_INT_PARAM_ENTRY_PATTERN
Deprecated. 

EXTRA_LONG_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_LONG_PARAM_ENTRY_PATTERN
Deprecated. 

EXTRA_DOUBLE_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_DOUBLE_PARAM_ENTRY_PATTERN
Deprecated. 

EXTRA_STRING_PARAM_ENTRY_PATTERN

protected static final Pattern EXTRA_STRING_PARAM_ENTRY_PATTERN
Deprecated. 

stack

protected com.opensymphony.xwork2.util.ValueStack stack
Deprecated. 

booleanParams

protected String booleanParams
Deprecated. 

shortParams

protected String shortParams
Deprecated. 

intParams

protected String intParams
Deprecated. 

longParams

protected String longParams
Deprecated. 

doubleParams

protected String doubleParams
Deprecated. 

stringParams

protected String stringParams
Deprecated. 

booleans

protected Map<String,Boolean> booleans
Deprecated. 

shorts

protected Map<String,Short> shorts
Deprecated. 

ints

protected Map<String,Integer> ints
Deprecated. 

longs

protected Map<String,Long> longs
Deprecated. 

doubles

protected Map<String,Double> doubles
Deprecated. 

strings

protected Map<String,String> strings
Deprecated. 
Constructor Detail

FieldExpressionWithParamsValidator

public FieldExpressionWithParamsValidator()
Deprecated. 
Method Detail

getBooleanParams

public String getBooleanParams()
Deprecated. 

setBooleanParams

public void setBooleanParams(String booleanParams)
Deprecated. 

getDoubleParams

public String getDoubleParams()
Deprecated. 

setDoubleParams

public void setDoubleParams(String doubleParams)
Deprecated. 

getIntParams

public String getIntParams()
Deprecated. 

setIntParams

public void setIntParams(String intParams)
Deprecated. 

getLongParams

public String getLongParams()
Deprecated. 

setLongParams

public void setLongParams(String longParams)
Deprecated. 

getShortParams

public String getShortParams()
Deprecated. 

setShortParams

public void setShortParams(String shortParams)
Deprecated. 

getStringParams

public String getStringParams()
Deprecated. 

setStringParams

public void setStringParams(String stringParams)
Deprecated. 

getBooleans

public Map<String,Boolean> getBooleans()
Deprecated. 

getDoubles

public Map<String,Double> getDoubles()
Deprecated. 

getInts

public Map<String,Integer> getInts()
Deprecated. 

getLongs

public Map<String,Long> getLongs()
Deprecated. 

getShorts

public Map<String,Short> getShorts()
Deprecated. 

getStrings

public Map<String,String> getStrings()
Deprecated. 

getValidatorType

public String getValidatorType()
Deprecated. 
Specified by:
getValidatorType in interface com.opensymphony.xwork2.validator.Validator
Overrides:
getValidatorType in class com.opensymphony.xwork2.validator.validators.FieldValidatorSupport

setValueStack

public void setValueStack(com.opensymphony.xwork2.util.ValueStack stack)
Deprecated. 
Specified by:
setValueStack in interface com.opensymphony.xwork2.validator.Validator
Overrides:
setValueStack in class com.opensymphony.xwork2.validator.validators.ValidatorSupport

validate

public void validate(Object object)
              throws com.opensymphony.xwork2.validator.ValidationException
Deprecated. 
Specified by:
validate in interface com.opensymphony.xwork2.validator.Validator
Overrides:
validate in class com.opensymphony.xwork2.validator.validators.FieldExpressionValidator
Throws:
com.opensymphony.xwork2.validator.ValidationException

initParams

protected <T> Map<String,T> initParams(Class<T> klass,
                                       String extraParams,
                                       Pattern pattern)
                            throws com.opensymphony.xwork2.validator.ValidationException
Deprecated. 
Throws:
com.opensymphony.xwork2.validator.ValidationException


Copyright © 2008-2011 CodeLutin. All Rights Reserved.