public abstract class GenericMinMaxValidatorTag<T> extends ValidatorTag
| Modifier and Type | Field and Description |
|---|---|
protected T |
_max |
protected javax.el.ValueExpression |
_maximum |
protected T |
_min |
protected javax.el.ValueExpression |
_minimum |
| Constructor and Description |
|---|
GenericMinMaxValidatorTag() |
| Modifier and Type | Method and Description |
|---|---|
protected Validator |
createValidator()
This method returns the Validator, you have to cast it to the correct type and apply the min and max values.
|
protected abstract T |
getValue(Object value)
Wrapper method.
|
protected abstract boolean |
isMinLTMax() |
void |
release() |
void |
setMaximum(javax.el.ValueExpression maximum) |
void |
setMinimum(javax.el.ValueExpression minimum) |
setBinding, setValidatorId, setValidatorIdStringdoStartTagprotected javax.el.ValueExpression _minimum
protected javax.el.ValueExpression _maximum
protected T _min
protected T _max
public void setMinimum(javax.el.ValueExpression minimum)
public void setMaximum(javax.el.ValueExpression maximum)
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class ValidatorTagprotected Validator createValidator() throws javax.servlet.jsp.JspException
createValidator in class ValidatorTagjavax.servlet.jsp.JspExceptionprotected abstract boolean isMinLTMax()
Copyright © 2025 The Apache Software Foundation. All rights reserved.