|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.fmt.MessageTag
Support for tag handlers for <message>, the lookup up localized message tag in JSTL.
Field Summary | |
private org.apache.commons.jelly.expression.Expression |
bundle
|
private org.apache.commons.jelly.expression.Expression |
key
|
private LocalizationContext |
locCtxt
|
private java.util.List |
params
|
private java.lang.String |
scope
|
private static java.lang.String |
UNDEFINED_KEY
|
private java.lang.String |
var
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
MessageTag()
Creates a new instance of MessageTag |
Method Summary | |
void |
addParam(java.lang.Object arg)
Adds an argument (for parametric replacement) to this tag's message. |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
void |
setBundle(org.apache.commons.jelly.expression.Expression bundle)
Setter for property bundle. |
void |
setKey(org.apache.commons.jelly.expression.Expression key)
Setter for property key. |
void |
setScope(java.lang.String scope)
Setter for property scope. |
void |
setVar(java.lang.String var)
Setter for property var. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String UNDEFINED_KEY
private org.apache.commons.jelly.expression.Expression key
private org.apache.commons.jelly.expression.Expression bundle
private LocalizationContext locCtxt
private java.lang.String var
private java.lang.String scope
private java.util.List params
Constructor Detail |
public MessageTag()
Method Detail |
public void addParam(java.lang.Object arg)
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setKey(org.apache.commons.jelly.expression.Expression key)
key
- New value of property key.public void setBundle(org.apache.commons.jelly.expression.Expression bundle)
bundle
- New value of property bundle.public void setVar(java.lang.String var)
var
- New value of property var.public void setScope(java.lang.String scope)
scope
- New value of property scope.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |