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

org.apache.tiles.jsp.taglib.definition
Class InitContainerTag

Package class diagram package InitContainerTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.tiles.jsp.taglib.TilesBodyTag
              extended by org.apache.tiles.jsp.taglib.definition.InitContainerTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, PutAttributeTagParent

public class InitContainerTag
extends TilesBodyTag
implements PutAttributeTagParent

Init definitions impl.

Version:
$Rev: 727715 $ $Date: 2008-12-18 14:06:06 +0100 (Thu, 18 Dec 2008) $
See Also:
Serialized Form

Nested Class Summary
static class InitContainerTag.RuntimeConfiguredContext
          A servlet context created "on the fly" for container initialization.
 
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
InitContainerTag()
           
 
Method Summary
 int doEndTag()
          
 int doStartTag()
          
 String getContainerFactory()
          Returns the container factory class name.
 void processNestedTag(PutAttributeTag nestedTag)
          Process the nested tag.
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().
 void setContainerFactory(String containerFactory)
          Sets the container factory class name.
 
Methods inherited from class org.apache.tiles.jsp.taglib.TilesBodyTag
doCatch, doFinally, release
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, 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

InitContainerTag

public InitContainerTag()
Method Detail

getContainerFactory

public String getContainerFactory()
Returns the container factory class name.

Returns:
The container factory class name.

setContainerFactory

public void setContainerFactory(String containerFactory)
Sets the container factory class name.

Parameters:
containerFactory - The container factory class name.

processNestedTag

public void processNestedTag(PutAttributeTag nestedTag)
                      throws JspException
Process the nested tag.

Specified by:
processNestedTag in interface PutAttributeTagParent
Parameters:
nestedTag - Nested tag to process.
Throws:
JspException - If something goes wrong during processing.

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().

Overrides:
reset in class TilesBodyTag

doStartTag

public int doStartTag()

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport

doEndTag

public int doEndTag()
             throws JspException

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException


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