public class WhenTag extends WhenTagSupport
Tag handler for <if> in JSTL's XML library.
Constructor and Description |
---|
WhenTag() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
condition()
Subclasses implement this method to compute the boolean result
of the conditional action.
|
void |
release()
Releases any resources this ConditionalTagSupport may have (or inherit).
|
void |
setSelect(String select) |
doStartTag
setScope, setVar
public void release()
ConditionalTagSupport
release
in interface javax.servlet.jsp.tagext.Tag
release
in class ConditionalTagSupport
protected boolean condition() throws javax.servlet.jsp.JspTagException
ConditionalTagSupport
Subclasses implement this method to compute the boolean result of the conditional action. This method is invoked once per tag invocation by doStartTag().
condition
in class ConditionalTagSupport
javax.servlet.jsp.JspTagException
public void setSelect(String select)
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.