edu.uoc.fw.tags
Class MessageTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by edu.uoc.fw.tags.MessageTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class MessageTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

Implementa l'etiqueta per a mostrar literals utilitzant la internacionalització

Version:
1.0
Author:
Luis Bravo Fuentes

Constructor Summary
MessageTag()
           
 
Method Summary
 void doTag()
           
 java.lang.String getKey()
           
 void setKey(java.lang.String key)
           
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTag

public MessageTag()
Method Detail

getKey

public java.lang.String getKey()
Returns:
el valor de key

setKey

public void setKey(java.lang.String key)
Parameters:
key - el valor de key a establir

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException