com.ora.jsp.tags
Class IfValidEmailAddrTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
com.ora.jsp.tags.IfValidEmailAddrTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class IfValidEmailAddrTag
- extends javax.servlet.jsp.jstl.core.ConditionalTagSupport
This class is a custom action for testing if a string value
is in the format of a valid SMTP email address.
If it is, the body is evaluated. If a var attribute is provided,
the result is also saved as a Boolean variable in the specified
scope, or in the page if no scope is specified.
- Version:
- 3.0
- Author:
- Hans Bergsten, Gefion software
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
value
|
Fields inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport |
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport |
doStartTag, release, setScope, setVar |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
private java.lang.String value
IfValidEmailAddrTag
public IfValidEmailAddrTag()
setValue
public void setValue(java.lang.String value)
condition
public boolean condition()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException