|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.chwf.taglib.base.LifeCycleTagSupport
|
+--org.chwf.taglib.ji18n.MessageTag
Tag handler for the <message> tag.
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
MessageTag()
|
|
| Method Summary | |
void |
addParameter(java.lang.String name,
java.lang.String value)
Add a tag attribute. |
void |
cleanup()
Clean up data for tag handler reuse and pooling. |
int |
doEnd()
Write out the message. |
java.lang.String |
getKey()
Deprecated. |
java.lang.String |
getName()
The message name. |
java.lang.String |
getResource()
The resource name. |
void |
setKey(java.lang.String key)
Deprecated. |
void |
setName(java.lang.String name)
The message name. |
void |
setResource(java.lang.String resource)
The resource name. |
| Methods inherited from class org.chwf.taglib.base.LifeCycleTagSupport |
addAttribute, doEndTag, doStart, doStartTag, getAttribute, getAttributeNames, getParameter, getParameterNames, init, printAttributes |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageTag()
| Method Detail |
public void cleanup()
super.cleanup()cleanup in class LifeCycleTagSupportpublic java.lang.String getKey()
public void setKey(java.lang.String key)
key - The message key.public java.lang.String getName()
public void setName(java.lang.String name)
name - The message name.public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource - The resource name.
public void addParameter(java.lang.String name,
java.lang.String value)
addParameter in class LifeCycleTagSupportname - The attribute name.value - The attribute value.
public int doEnd()
throws javax.servlet.ServletException,
java.io.IOException
doEnd in class LifeCycleTagSupportjavax.servlet.ServletException - For servlet errors.java.io.IOException - For write errors.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||