org.apache.taglibs.io
Class AbstractBodyTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.taglibs.io.AbstractBodyTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
TransformerTagSupport, URLHeaderTag, URLParameterTag

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

A useful base class for BodyTags

Version:
$Revision$
Author:
James Strachan
See Also:
Serialized Form

Field Summary
protected static boolean TRACE
          Is tracing enabled?
protected static boolean WARN
          Are warnings enabled?
 
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()
           
 
Method Summary
protected  void handleException(java.lang.Exception e)
          Handles non-JspExceptions thrown in this instance
protected  void warn(java.lang.String text)
           
protected  void warn(java.lang.String text, java.lang.Exception e)
           
 
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
 

Field Detail

TRACE

protected static final boolean TRACE
Is tracing enabled?

See Also:
Constant Field Values

WARN

protected static final boolean WARN
Are warnings enabled?

See Also:
Constant Field Values
Constructor Detail

AbstractBodyTag

public AbstractBodyTag()
Method Detail

handleException

protected void handleException(java.lang.Exception e)
                        throws javax.servlet.jsp.JspException
Handles non-JspExceptions thrown in this instance

Throws:
javax.servlet.jsp.JspException

warn

protected void warn(java.lang.String text)

warn

protected void warn(java.lang.String text,
                    java.lang.Exception e)


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.