public class ValidatorVarTag
extends javax.servlet.jsp.tagext.TagSupport
s:validatorVar
tag, used to specify
parameters to specific validators of Commons Validator.
$Id: ValidatorVarTag.java 465067 2006-10-17 21:45:17Z rahul $Constructor and Description |
---|
ValidatorVarTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Pass the validation parameter to the commonsValidatorTag that immediately
surrounds this tag.
|
void |
setName(String name)
The var name.
|
void |
setParent(javax.servlet.jsp.tagext.Tag tag)
Keeps track of the <s:commonsValidator> tag.
|
void |
setValue(String value)
The var value.
|
public void setParent(javax.servlet.jsp.tagext.Tag tag)
setParent
in interface javax.servlet.jsp.tagext.Tag
setParent
in class javax.servlet.jsp.tagext.TagSupport
tag
- the parent tag of this tag instance.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP processing error occurspublic void setName(String name)
name
- The variable namepublic void setValue(String value)
value
- The variable valueCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.