com.generationjava.taglib
Class AbstractBodyTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.generationjava.taglib.AbstractBodyTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AbstractStringBodyTag

public abstract class AbstractBodyTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Abstract class for the Taglibs. It has a param ability which binds to a generic ParamTag.

Version:
0.1, 20011028
Author:
bayard@generationjava.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AbstractBodyTag()
          Empty constructor.
 
Method Summary
 java.lang.String getParam(java.lang.String name)
          Get a param out.
 void initAttributes()
          Initialise any properties to default values.
 void putParam(java.lang.String name, java.lang.String value)
          Set a param.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

AbstractBodyTag

public AbstractBodyTag()
Empty constructor. Initialises the attributes.

Method Detail

putParam

public void putParam(java.lang.String name,
                     java.lang.String value)
Set a param.


getParam

public java.lang.String getParam(java.lang.String name)
Get a param out.


initAttributes

public void initAttributes()
Initialise any properties to default values. This method is called upon construction. This is a default empty implementation.



Copyright © 2002-2003 OSJava. All Rights Reserved.