org.apache.commons.jelly.tags.fmt
Class MessageTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.fmt.MessageTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class MessageTag
extends org.apache.commons.jelly.TagSupport

Support for tag handlers for <message>, the lookup up localized message tag in JSTL.

Version:
1.1
Author:
Willie Vu

Field Summary
 
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, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTag

public MessageTag()
Creates a new instance of MessageTag

Method Detail

addParam

public void addParam(java.lang.Object arg)
Adds an argument (for parametric replacement) to this tag's message.


doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

setKey

public void setKey(org.apache.commons.jelly.expression.Expression key)
Setter for property key.

Parameters:
key - New value of property key.

setBundle

public void setBundle(org.apache.commons.jelly.expression.Expression bundle)
Setter for property bundle.

Parameters:
bundle - New value of property bundle.

setVar

public void setVar(java.lang.String var)
Setter for property var.

Parameters:
var - New value of property var.

setScope

public void setScope(java.lang.String scope)
Setter for property scope.

Parameters:
scope - New value of property scope.


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.