Package org.apache.myfaces.taglib.core
Class ValidateLongRangeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.faces.webapp.ValidatorELTag
-
- org.apache.myfaces.taglib.core.ValidatorTag
-
- org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag<Long>
-
- org.apache.myfaces.taglib.core.ValidateLongRangeTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ValidateLongRangeTag extends GenericMinMaxValidatorTag<Long>
- Version:
- $Revision$ $Date$
- Author:
- Thomas Spiegl (latest modification by $Author$), Manfred Geiler
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag
_max, _maximum, _min, _minimum
-
-
Constructor Summary
Constructors Constructor Description ValidateLongRangeTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Long
getValue(Object value)
Wrapper method.protected boolean
isMinLTMax()
-
Methods inherited from class org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag
release, setMaximum, setMinimum
-
Methods inherited from class org.apache.myfaces.taglib.core.ValidatorTag
setBinding, setValidatorId, setValidatorIdString
-
Methods inherited from class javax.faces.webapp.ValidatorELTag
doStartTag
-
-
-
-
Method Detail
-
createValidator
protected Validator createValidator() throws javax.servlet.jsp.JspException
Description copied from class:GenericMinMaxValidatorTag
This method returns the Validator, you have to cast it to the correct type and apply the min and max values.- Overrides:
createValidator
in classGenericMinMaxValidatorTag<Long>
- Throws:
javax.servlet.jsp.JspException
-
isMinLTMax
protected boolean isMinLTMax()
- Specified by:
isMinLTMax
in classGenericMinMaxValidatorTag<Long>
- Returns:
- true if min is lower than max
-
getValue
protected Long getValue(Object value)
Description copied from class:GenericMinMaxValidatorTag
Wrapper method.- Specified by:
getValue
in classGenericMinMaxValidatorTag<Long>
- Returns:
-
-