public abstract class MessageSupport extends BodyTagSupport
Modifier and Type | Field and Description |
---|---|
protected LocalizationContext |
bundleAttrValue |
protected boolean |
bundleSpecified |
protected String |
keyAttrValue |
protected boolean |
keySpecified |
static String |
UNDEFINED_KEY |
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
MessageSupport() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(Object arg)
Adds an argument (for parametric replacement) to this tag's message.
|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setScope(String scope) |
void |
setVar(String var) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public static final String UNDEFINED_KEY
protected String keyAttrValue
protected boolean keySpecified
protected LocalizationContext bundleAttrValue
protected boolean bundleSpecified
public void setVar(String var)
public void setScope(String scope)
public void addParam(Object arg)
ParamSupport
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public int doEndTag() throws JspException
BodyTagSupport
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
- if an error occurred while processing this tagTag.doEndTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.