public class MessageTag extends BodyTagSupport implements ParamContainerTag
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
MessageTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParam(java.lang.Object value)
Add a parameter value to the message.
|
int |
doEndTag()
Process the tag.
|
void |
setBundle(java.lang.Object bundle)
Sets the bundle.
|
void |
setKey(java.lang.String key)
Sets the message key.
|
void |
setScope(java.lang.String scope)
Sets the scope.
|
void |
setVar(java.lang.String var)
Sets the variable.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setKey(java.lang.String key)
key - the key value.public void setBundle(java.lang.Object bundle)
bundle - the localication contextpublic void setVar(java.lang.String var)
var - the variablepublic void setScope(java.lang.String scope)
scope - the scopepublic void addParam(java.lang.Object value)
addParam in interface ParamContainerTagpublic int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspException