Class JspFragmentHelper
- java.lang.Object
-
- javax.servlet.jsp.tagext.JspFragment
-
- org.apache.sling.scripting.jsp.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.
-
-
Constructor Summary
Constructors Constructor Description JspFragmentHelper(int discriminator, JspContext jspContext, JspTag parentTag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JspContext
getJspContext()
Returns the JspContext that is bound to this JspFragment.JspTag
getParentTag()
-
Methods inherited from class javax.servlet.jsp.tagext.JspFragment
invoke
-
-
-
-
Constructor Detail
-
JspFragmentHelper
public JspFragmentHelper(int discriminator, JspContext jspContext, JspTag parentTag)
-
-
Method Detail
-
getJspContext
public JspContext getJspContext()
Description copied from class:JspFragment
Returns the JspContext that is bound to this JspFragment.- Specified by:
getJspContext
in classJspFragment
- Returns:
- The JspContext used by this fragment at invocation time.
-
getParentTag
public JspTag getParentTag()
-
-