public class MessageTag extends MessageSupport
A handler for <message> that accepts attributes as Strings and evaluates them as expressions at runtime.
bundleAttrValue, bundleSpecified, keyAttrValue, keySpecified, 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 |
---|
MessageTag()
Constructs a new MessageTag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED.
|
void |
release()
Release state.
|
void |
setBundle(java.lang.String bundle_) |
void |
setKey(java.lang.String key_) |
addParam, doEndTag, setScope, setVar
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 MessageTag()
public int doStartTag() throws JspException
BodyTagSupport
doStartTag
in interface Tag
doStartTag
in class MessageSupport
JspException
- if an error occurred while processing this tagTag.doStartTag()
public void release()
BodyTagSupport
release
in interface Tag
release
in class MessageSupport
Tag.release()
public void setKey(java.lang.String key_)
public void setBundle(java.lang.String bundle_)