com.caucho.jsp.java
Class JspTagFileSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by com.caucho.jsp.java.JspTagSupport
          extended by com.caucho.jsp.java.JspTagFileSupport
All Implemented Interfaces:
JspTag, SimpleTag, Tag

public abstract class JspTagFileSupport
extends JspTagSupport
implements Tag

Represents the body for a tag file with no scripting.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
JspTagFileSupport()
           
 
Method Summary
 int doEndTag()
          Callback to handle the end of a tag.
 int doStartTag()
          Callback to handle the start of a tag.
 JspFragment getJspBody()
          returns the body fragment.
 Tag getParent()
          returns the parent
 void release()
          Cleans up the tag at the end of the page.
 void setPageContext(PageContext page)
          Sets the page context of this page.
 void setParent(Tag t)
          Sets the containing tag.
 
Methods inherited from class com.caucho.jsp.java.JspTagSupport
_caucho_addDepend, _caucho_getDependList, _caucho_getDynamicAttributes, _caucho_getTagInfo, _caucho_isModified, init, toString
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
doTag, findAncestorWithClass, getJspContext, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JspTagFileSupport

public JspTagFileSupport()
Method Detail

setPageContext

public void setPageContext(PageContext page)
Description copied from interface: Tag
Sets the page context of this page.

Specified by:
setPageContext in interface Tag

setParent

public void setParent(Tag t)
Description copied from interface: Tag
Sets the containing tag.

Specified by:
setParent in interface Tag

getParent

public Tag getParent()
Description copied from class: SimpleTagSupport
returns the parent

Specified by:
getParent in interface SimpleTag
Specified by:
getParent in interface Tag
Overrides:
getParent in class SimpleTagSupport

getJspBody

public JspFragment getJspBody()
Description copied from class: SimpleTagSupport
returns the body fragment.

Overrides:
getJspBody in class SimpleTagSupport

doStartTag

public int doStartTag()
               throws JspException
Description copied from interface: Tag
Callback to handle the start of a tag.

doStartTag can assume setPageContext, setParent, and all tag attribute properties have been called.

Specified by:
doStartTag in interface Tag
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Description copied from interface: Tag
Callback to handle the end of a tag.

Specified by:
doEndTag in interface Tag
Returns:
SKIP_PAGE to skip the rest of the page and EVAL_PAGE to continue with the rest of the page.
Throws:
JspException

release

public void release()
Description copied from interface: Tag
Cleans up the tag at the end of the page. The same tag instance might be reused for multiple tags in the page.

Specified by:
release in interface Tag