org.chwf.taglib.ji18n
Class IncludeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.chwf.taglib.base.LifeCycleTagSupport
              |
              +--org.chwf.taglib.ji18n.MessageTag
                    |
                    +--org.chwf.taglib.ji18n.IncludeTag
All Implemented Interfaces:
Parameterized, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class IncludeTag
extends MessageTag

Tag handler for the <include> tag.

Author:
Paul Strack
See Also:
Serialized Form

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
IncludeTag()
           
 
Method Summary
 int doEnd()
          Include the page indicated by the configuration property.
 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.ji18n.MessageTag
addParameter, cleanup, getKey, getName, getResource
 
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

IncludeTag

public IncludeTag()
Method Detail

setKey

public void setKey(java.lang.String key)
Deprecated.  

The message key.
Overrides:
setKey in class MessageTag
Parameters:
key - The message key.

setName

public void setName(java.lang.String name)
The message name.
Overrides:
setName in class MessageTag
Parameters:
name - The message name.

setResource

public void setResource(java.lang.String resource)
The resource name.
Overrides:
setResource in class MessageTag
Parameters:
resource - The resource name.

doEnd

public int doEnd()
          throws javax.servlet.ServletException,
                 java.io.IOException
Include the page indicated by the configuration property.
Overrides:
doEnd in class MessageTag
Returns:
EVAL_PAGE
Throws:
javax.servlet.ServletException - For dispatch errors.
java.io.IOException - For write errors.


Copyright © 2002-2004, Paul Strack. All Rights Reserved.