FileDocCategorySizeDatePackage
JspFragmentHelper.javaAPI DocGlassfish v2 API3371Fri May 04 22:32:54 BST 2007org.apache.jasper.runtime

JspFragmentHelper

public abstract class JspFragmentHelper extends javax.servlet.jsp.tagext.JspFragment
Helper class from which all Jsp Fragment helper classes extend. This class allows for the emulation of numerous fragments within a single class, which in turn reduces the load on the class loader since there are potentially many JspFragments in a single page.

The class also provides various utility methods for JspFragment implementations.

author
Mark Roth

Fields Summary
protected int
discriminator
protected javax.servlet.jsp.JspContext
jspContext
protected javax.servlet.jsp.PageContext
_jspx_page_context
protected javax.servlet.jsp.tagext.JspTag
parentTag
Constructors Summary
public JspFragmentHelper(int discriminator, javax.servlet.jsp.JspContext jspContext, javax.servlet.jsp.tagext.JspTag parentTag)

        this.discriminator = discriminator;
        this.jspContext = jspContext;
        this._jspx_page_context = null;
        if( jspContext instanceof PageContext ) {
            _jspx_page_context = (PageContext)jspContext;
        }
        this.parentTag = parentTag;
    
Methods Summary
public javax.servlet.jsp.JspContextgetJspContext()

        return this.jspContext;
    
public javax.servlet.jsp.tagext.JspTaggetParentTag()

        return this.parentTag;