examples
Class ExampleTagBase
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
examples.ExampleTagBase
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, Tag
- Direct Known Subclasses:
- FooTag, LogTag
public abstract class ExampleTagBase
- extends BodyTagSupport
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bodyOut
protected BodyContent bodyOut
pageContext
protected PageContext pageContext
parent
protected Tag parent
ExampleTagBase
public ExampleTagBase()
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.