public class MessageTag extends MessageSupport
A handler for <message> that accepts attributes as Strings and evaluates them as expressions at runtime.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bundle_ |
private java.lang.String |
key_ |
bundleAttrValue, bundleSpecified, keyAttrValue, keySpecified, UNDEFINED_KEY
Constructor and Description |
---|
MessageTag()
Constructs a new MessageTag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
private void |
evaluateExpressions() |
private void |
init() |
void |
release() |
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
public MessageTag()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class MessageSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class MessageSupport
public void setKey(java.lang.String key_)
public void setBundle(java.lang.String bundle_)
private void init()
private void evaluateExpressions() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException