examples
Class ExampleTagBase

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by examples.ExampleTagBase
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, 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)
Specified by:
setParent in interface Tag
Overrides:
setParent in class TagSupport

setBodyContent

public void setBodyContent(BodyContent bodyOut)
Specified by:
setBodyContent in interface BodyTag
Overrides:
setBodyContent in class BodyTagSupport

setPageContext

public void setPageContext(PageContext pageContext)
Specified by:
setPageContext in interface Tag
Overrides:
setPageContext in class TagSupport

getParent

public Tag getParent()
Specified by:
getParent in interface Tag
Overrides:
getParent in class TagSupport

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException

doInitBody

public void doInitBody()
                throws JspException
Specified by:
doInitBody in interface BodyTag
Overrides:
doInitBody in class BodyTagSupport
Throws:
JspException

doAfterBody

public int doAfterBody()
                throws JspException
Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class BodyTagSupport
Throws:
JspException

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.