public class ValidateLengthTag extends MaxMinValidatorTag
validate_length tag| Modifier and Type | Field and Description |
|---|---|
protected int |
maximum |
protected jakarta.el.ValueExpression |
maximumExpression |
protected int |
minimum |
protected jakarta.el.ValueExpression |
minimumExpression |
maximumSet, minimumSetbinding, validatorId| Constructor and Description |
|---|
ValidateLengthTag() |
| Modifier and Type | Method and Description |
|---|---|
protected Validator |
createValidator()
Create and return a new
Validator to be registered on our surrounding UIComponent. |
int |
doStartTag()
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. |
void |
setMaximum(jakarta.el.ValueExpression newMaximum) |
void |
setMinimum(jakarta.el.ValueExpression newMinimum) |
createValidator, setBinding, setValidatorIdprotected jakarta.el.ValueExpression maximumExpression
protected jakarta.el.ValueExpression minimumExpression
protected int maximum
protected int minimum
public void setMaximum(jakarta.el.ValueExpression newMaximum)
public void setMinimum(jakarta.el.ValueExpression newMinimum)
public int doStartTag()
throws jakarta.servlet.jsp.JspException
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.
doStartTag in interface jakarta.servlet.jsp.tagext.TagdoStartTag in class ValidatorELTagjakarta.servlet.jsp.JspException - if a Jakarta Server Pages error occursprotected Validator createValidator() throws jakarta.servlet.jsp.JspException
ValidatorELTag
Create and return a new Validator to be registered on our surrounding UIComponent.
createValidator in class AbstractValidatorTagValidatorjakarta.servlet.jsp.JspException - if a new instance cannot be createdCopyright © 1997–2020 Eclipse Foundation. All rights reserved.