This project has retired. For details please refer to its Attic page.
TilesTag (Tiles 2 2.1.4 API)

org.apache.tiles.jsp.taglib
Class TilesTag

Package class diagram package TilesTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.tiles.jsp.taglib.TilesTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag, TryCatchFinally
Direct Known Subclasses:
AttributeTagSupport, DefinitionTag, DestroyContainerTag, SetCurrentContainerTag

public abstract class TilesTag
extends TagSupport
implements TryCatchFinally

An abstract common base class to extend for all Tiles JSP tag handlers which do not access body content. Defines useful life cycle extension points.

Since:
2.1.1
Version:
$Rev: 727708 $ $Date: 2008-12-18 13:36:35 +0100 (gio, 18 dic 2008) $
See Also:
Serialized Form

Field Summary
 
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
TilesTag()
           
 
Method Summary
 void doCatch(Throwable throwable)
          Default no-op implementation, but overrideable if needed.
 void doFinally()
          Called after doEndTag().
 void release()
          Release any per-instance resources, releasing any resources or state before this tag instance is disposed.
protected  void reset()
          Release any per-invocation resources, resetting any resources or state that should be cleared between successive invocations of Tag.doEndTag() and Tag.doStartTag().
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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
 

Constructor Detail

TilesTag

public TilesTag()
Method Detail

doCatch

public void doCatch(Throwable throwable)
             throws Throwable
Default no-op implementation, but overrideable if needed.

Specified by:
doCatch in interface TryCatchFinally
Parameters:
throwable - The throwable object.
Throws:
Throwable - The throwable object itself, by default.
See Also:
TryCatchFinally.doCatch(Throwable)

doFinally

public void doFinally()
Called after doEndTag(). This common implementation calls reset() to release any per-invocation resources.

Specified by:
doFinally in interface TryCatchFinally
See Also:
TryCatchFinally.doFinally()

reset

protected void reset()
Release any per-invocation resources, resetting any resources or state that should be cleared between successive invocations of Tag.doEndTag() and Tag.doStartTag().


release

public void release()
Release any per-instance resources, releasing any resources or state before this tag instance is disposed.

Specified by:
release in interface Tag
Overrides:
release in class TagSupport
See Also:
Tag.release()


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.