Package com.sun.faces.taglib.jsf_core
Class ValidateDoubleRangeTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.faces.webapp.ValidatorELTag
com.sun.faces.taglib.jsf_core.AbstractValidatorTag
com.sun.faces.taglib.jsf_core.MaxMinValidatorTag
com.sun.faces.taglib.jsf_core.ValidateDoubleRangeTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
public class ValidateDoubleRangeTag extends MaxMinValidatorTag
ValidateDoubleRangeTag is the tag handler class for
validate_doublerange tag.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected doublemaximumprotected jakarta.el.ValueExpressionmaximumExpressionprotected doubleminimumprotected jakarta.el.ValueExpressionminimumExpression -
Constructor Summary
Constructors Constructor Description ValidateDoubleRangeTag() -
Method Summary
Modifier and Type Method Description protected ValidatorcreateValidator()Create and return a newValidatorto be registered on our surroundingUIComponent.intdoStartTag()Create a new instance of the specifiedValidatorclass, and register it with theUIComponentinstance associated with our most immediately surroundingUIComponentTagBaseinstance, if theUIComponentinstance was created by this execution of the containing Jakarta Server Pages page.voidsetMaximum(jakarta.el.ValueExpression newMaximum)voidsetMinimum(jakarta.el.ValueExpression newMinimum)Methods inherited from class com.sun.faces.taglib.jsf_core.AbstractValidatorTag
createValidator, setBinding, setValidatorId
-
Field Details
-
maximumExpression
protected jakarta.el.ValueExpression maximumExpression -
minimumExpression
protected jakarta.el.ValueExpression minimumExpression -
maximum
protected double maximum -
minimum
protected double minimum
-
-
Constructor Details
-
ValidateDoubleRangeTag
public ValidateDoubleRangeTag()
-
-
Method Details
-
setMaximum
public void setMaximum(jakarta.el.ValueExpression newMaximum) -
setMinimum
public void setMinimum(jakarta.el.ValueExpression newMinimum) -
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspExceptionDescription copied from class:ValidatorELTagCreate a new instance of the specified
Validatorclass, and register it with theUIComponentinstance associated with our most immediately surroundingUIComponentTagBaseinstance, if theUIComponentinstance was created by this execution of the containing Jakarta Server Pages page.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classValidatorELTag- Throws:
jakarta.servlet.jsp.JspException- if a Jakarta Server Pages error occurs
-
createValidator
Description copied from class:ValidatorELTagCreate and return a new
Validatorto be registered on our surroundingUIComponent.- Overrides:
createValidatorin classAbstractValidatorTag- Returns:
- the created
Validator - Throws:
jakarta.servlet.jsp.JspException- if a new instance cannot be created
-