examples
Class ExampleTagBase

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byexamples.ExampleTagBase
All Implemented Interfaces:
BodyTag, IterationTag, JspTag, Serializable, Tag
Direct Known Subclasses:
FooTag, LogTag

public abstract class ExampleTagBase
extends BodyTagSupport

See Also:
Serialized Form

Field Summary
protected  BodyContent bodyOut
           
protected  PageContext pageContext
           
protected  Tag parent
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id
 
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
ExampleTagBase()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 Tag getParent()
           
 void release()
           
 void setBodyContent(BodyContent bodyOut)
           
 void setPageContext(PageContext pageContext)
           
 void setParent(Tag parent)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getValue, getValues, removeValue, setId, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bodyOut

protected BodyContent bodyOut

pageContext

protected PageContext pageContext

parent

protected Tag parent
Constructor Detail

ExampleTagBase

public ExampleTagBase()
Method Detail

setParent

public void setParent(Tag parent)

setBodyContent

public void setBodyContent(BodyContent bodyOut)

setPageContext

public void setPageContext(PageContext pageContext)

getParent

public Tag getParent()

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Throws:
JspException

doInitBody

public void doInitBody()
                throws JspException
Throws:
JspException

doAfterBody

public int doAfterBody()
                throws JspException
Throws:
JspException

release

public void release()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.