Class ValidateLongRangeTag

All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class ValidateLongRangeTag
extends MaxMinValidatorTag
ValidateLongRangeTag is the tag handler class for validate_longrange tag.
See Also:
Serialized Form
  • Field Details

  • Constructor Details

  • 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.JspException
      Description copied from class: ValidatorELTag

      Create a new instance of the specified Validator class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTagBase instance, if the UIComponent instance was created by this execution of the containing Jakarta Server Pages page.

      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class ValidatorELTag
      Throws:
      jakarta.servlet.jsp.JspException - if a Jakarta Server Pages error occurs
    • createValidator

      protected Validator createValidator() throws jakarta.servlet.jsp.JspException
      Description copied from class: ValidatorELTag

      Create and return a new Validator to be registered on our surrounding UIComponent.

      Overrides:
      createValidator in class AbstractValidatorTag
      Returns:
      the created Validator
      Throws:
      jakarta.servlet.jsp.JspException - if a new instance cannot be created