Class JspFragmentHelper
java.lang.Object
javax.servlet.jsp.tagext.JspFragment
org.apache.sling.scripting.jsp.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
-
Field Summary
Modifier and TypeFieldDescriptionprotected javax.servlet.jsp.PageContext
protected int
protected javax.servlet.jsp.JspContext
protected javax.servlet.jsp.tagext.JspTag
-
Constructor Summary
ConstructorDescriptionJspFragmentHelper
(int discriminator, javax.servlet.jsp.JspContext jspContext, javax.servlet.jsp.tagext.JspTag parentTag) -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.jsp.JspContext
javax.servlet.jsp.tagext.JspTag
Methods inherited from class javax.servlet.jsp.tagext.JspFragment
invoke
-
Field Details
-
discriminator
protected int discriminator -
jspContext
protected javax.servlet.jsp.JspContext jspContext -
_jspx_page_context
protected javax.servlet.jsp.PageContext _jspx_page_context -
parentTag
protected javax.servlet.jsp.tagext.JspTag parentTag
-
-
Constructor Details
-
JspFragmentHelper
public JspFragmentHelper(int discriminator, javax.servlet.jsp.JspContext jspContext, javax.servlet.jsp.tagext.JspTag parentTag)
-
-
Method Details
-
getJspContext
public javax.servlet.jsp.JspContext getJspContext()- Specified by:
getJspContext
in classjavax.servlet.jsp.tagext.JspFragment
-
getParentTag
public javax.servlet.jsp.tagext.JspTag getParentTag()
-