org.apache.taglibs.io
Class AbstractTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.io.AbstractTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
GetTag, URLTag

public class AbstractTag
extends javax.servlet.jsp.tagext.TagSupport

A useful base class for Tags

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.TagSupport
id, pageContext
 
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
AbstractTag()
           
 
Method Summary
protected  void handleException(java.lang.Exception e)
          Handles non-JspExceptions thrown in this instance
protected  void log(java.lang.String text)
           
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.TagSupport
doAfterBody, doEndTag, doStartTag, 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
 

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

AbstractTag

public AbstractTag()
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)

log

protected void log(java.lang.String text)


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