public abstract class ConditionalWithElseTag
extends javax.servlet.jsp.tagext.BodyTagSupport
| Modifier and Type | Field and Description |
|---|---|
protected Action |
action |
protected javax.servlet.ServletContext |
application |
protected Locale |
loc |
protected javax.servlet.http.HttpServletRequest |
req |
protected javax.servlet.http.HttpServletResponse |
res |
protected javax.servlet.http.HttpSession |
session |
| Constructor and Description |
|---|
ConditionalWithElseTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody() |
int |
doStartTag() |
Object |
getSessionObj() |
Object |
getValue(String value) |
Object |
getValue(String value,
boolean tryBoolean) |
void |
setElseMarker(String elseMarker) |
void |
setNegate(boolean negate) |
abstract boolean |
testCondition() |
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValues, removeValue, setId, setPageContext, setParent, setValueprotected javax.servlet.ServletContext application
protected javax.servlet.http.HttpSession session
protected javax.servlet.http.HttpServletRequest req
protected javax.servlet.http.HttpServletResponse res
protected Action action
protected Locale loc
public void setElseMarker(String elseMarker)
public void setNegate(boolean negate)
public abstract boolean testCondition()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionpublic Object getValue(String value)
getValue in class javax.servlet.jsp.tagext.TagSupportpublic Object getSessionObj()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionCopyright © 2015. All Rights Reserved.