org.apache.struts2.jasper.runtime

## Class JspFragmentHelper

- java.lang.Object
- - javax.servlet.jsp.tagext.JspFragment
  - - org.apache.struts2.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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected javax.servlet.jsp.PageContext` | `_jspx_page_context`
    `protected int` | `discriminator`
    `protected javax.servlet.jsp.JspContext` | `jspContext`
    `protected javax.servlet.jsp.tagext.JspTag` | `parentTag`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JspFragmentHelper(int discriminator, javax.servlet.jsp.JspContext jspContext, javax.servlet.jsp.tagext.JspTag parentTag)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.servlet.jsp.JspContext` | `getJspContext()`
    `javax.servlet.jsp.tagext.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 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 Detail

    - #### JspFragmentHelper

          public JspFragmentHelper(int discriminator,
                           javax.servlet.jsp.JspContext jspContext,
                           javax.servlet.jsp.tagext.JspTag parentTag)

  - ### Method Detail

    - #### getJspContext

          public javax.servlet.jsp.JspContext getJspContext()

      Specified by:
        `getJspContext` in class `javax.servlet.jsp.tagext.JspFragment`

    - #### getParentTag

          public javax.servlet.jsp.tagext.JspTag getParentTag()

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.