Apache Tomcat 7.0.28

org.apache.jasper.runtime
Class JspFragmentHelper

java.lang.Object
  extended by javax.servlet.jsp.tagext.JspFragment
      extended by org.apache.jasper.runtime.JspFragmentHelper

public abstract class JspFragmentHelper
extends 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

Field Summary
protected  PageContext _jspx_page_context
           
protected  int discriminator
           
protected  JspContext jspContext
           
protected  JspTag parentTag
           
 
Constructor Summary
JspFragmentHelper(int discriminator, JspContext jspContext, JspTag parentTag)
           
 
Method Summary
 JspContext getJspContext()
          Returns the JspContext that is bound to this JspFragment.
 JspTag getParentTag()
           
 
Methods inherited from class javax.servlet.jsp.tagext.JspFragment
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discriminator

protected int discriminator

jspContext

protected JspContext jspContext

_jspx_page_context

protected PageContext _jspx_page_context

parentTag

protected JspTag parentTag
Constructor Detail

JspFragmentHelper

public JspFragmentHelper(int discriminator,
                         JspContext jspContext,
                         JspTag parentTag)
Method Detail

getJspContext

public JspContext getJspContext()
Description copied from class: javax.servlet.jsp.tagext.JspFragment
Returns the JspContext that is bound to this JspFragment.

Specified by:
getJspContext in class JspFragment
Returns:
The JspContext used by this fragment at invocation time.

getParentTag

public JspTag getParentTag()

Apache Tomcat 7.0.28

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.