public class ChooseTag
extends javax.servlet.jsp.tagext.TagSupport
Tag handler for <choose> in JSTL.
<choose> is a very simple tag that acts primarily as a container; it always includes its body and allows exactly one of its child <when> tags to run. Since this tag handler doesn't have any attributes, it is common.core to both the rtexprvalue and expression- evaluating versions of the JSTL library.
Constructor and Description |
---|
ChooseTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
boolean |
gainPermission()
Returns status indicating whether a subtag should run or not.
|
void |
release() |
void |
subtagSucceeded()
Called by a subtag to indicate that it plans to evaluate its
body.
|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public boolean gainPermission()
public void subtagSucceeded()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.