public class ChooseTag
extends jakarta.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 jakarta.servlet.jsp.tagext.Tag
release
in class jakarta.servlet.jsp.tagext.TagSupport
public boolean gainPermission()
public void subtagSucceeded()
public int doStartTag() throws jakarta.servlet.jsp.JspException
doStartTag
in interface jakarta.servlet.jsp.tagext.Tag
doStartTag
in class jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.JspException
Copyright © 2019,2020 Eclipse Foundation. All rights reserved.