1 17 18 package org.apache.jasper.runtime; 19 20 import javax.servlet.jsp.JspContext ; 21 import javax.servlet.jsp.PageContext ; 22 import javax.servlet.jsp.tagext.JspFragment ; 23 import javax.servlet.jsp.tagext.JspTag ; 24 25 36 public abstract class JspFragmentHelper 37 extends JspFragment 38 { 39 40 protected int discriminator; 41 protected JspContext jspContext; 42 protected PageContext _jspx_page_context; 43 protected JspTag parentTag; 44 45 public JspFragmentHelper( int discriminator, JspContext jspContext, 46 JspTag parentTag ) 47 { 48 this.discriminator = discriminator; 49 this.jspContext = jspContext; 50 this._jspx_page_context = null; 51 if( jspContext instanceof PageContext ) { 52 _jspx_page_context = (PageContext )jspContext; 53 } 54 this.parentTag = parentTag; 55 } 56 57 public JspContext getJspContext() { 58 return this.jspContext; 59 } 60 61 public JspTag getParentTag() { 62 return this.parentTag; 63 } 64 65 } 66 | Popular Tags |