Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » runtime » [javadoc | source]
org.apache.jasper.runtime
public class: JspContextWrapper [javadoc | source]
java.lang.Object
   javax.servlet.jsp.JspContext
      javax.servlet.jsp.PageContext
         org.apache.jasper.runtime.JspContextWrapper

All Implemented Interfaces:
    VariableResolver

Implementation of a JSP Context Wrapper. The JSP Context Wrapper is a JspContext created and maintained by a tag handler implementation. It wraps the Invoking JSP Context, that is, the JspContext instance passed to the tag handler by the invoking page via setJspContext().
Fields inherited from javax.servlet.jsp.PageContext:
PAGE_SCOPE,  REQUEST_SCOPE,  SESSION_SCOPE,  APPLICATION_SCOPE,  PAGE,  PAGECONTEXT,  REQUEST,  RESPONSE,  CONFIG,  SESSION,  OUT,  APPLICATION,  EXCEPTION
Constructor:
 public JspContextWrapper(JspContext jspContext,
    ArrayList nestedVars,
    ArrayList atBeginVars,
    ArrayList atEndVars,
    Map aliases) 
Method from org.apache.jasper.runtime.JspContextWrapper Summary:
findAttribute,   forward,   getAttribute,   getAttribute,   getAttributeNamesInScope,   getAttributesScope,   getELContext,   getException,   getExpressionEvaluator,   getOut,   getPage,   getRequest,   getResponse,   getServletConfig,   getServletContext,   getSession,   getVariableResolver,   handlePageException,   handlePageException,   include,   include,   initialize,   popBody,   pushBody,   pushBody,   release,   removeAttribute,   removeAttribute,   resolveVariable,   setAttribute,   setAttribute,   syncBeforeInvoke,   syncBeginTagFile,   syncEndTagFile
Methods from javax.servlet.jsp.PageContext:
forward,   getErrorData,   getException,   getPage,   getRequest,   getResponse,   getServletConfig,   getServletContext,   getSession,   handlePageException,   handlePageException,   include,   include,   initialize,   pushBody,   release
Methods from javax.servlet.jsp.JspContext:
findAttribute,   getAttribute,   getAttribute,   getAttributeNamesInScope,   getAttributesScope,   getExpressionEvaluator,   getOut,   getVariableResolver,   popBody,   pushBody,   removeAttribute,   removeAttribute,   setAttribute,   setAttribute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.runtime.JspContextWrapper Detail:
 public Object findAttribute(String name) 
 public  void forward(String relativeUrlPath) throws IOException, ServletException 
 public Object getAttribute(String name) 
 public Object getAttribute(String name,
    int scope) 
 public Enumeration getAttributeNamesInScope(int scope) 
 public int getAttributesScope(String name) 
 public ELContext getELContext() 
 public Exception getException() 
 public ExpressionEvaluator getExpressionEvaluator() 
 public JspWriter getOut() 
 public Object getPage() 
 public ServletRequest getRequest() 
 public ServletResponse getResponse() 
 public ServletConfig getServletConfig() 
 public ServletContext getServletContext() 
 public HttpSession getSession() 
 public VariableResolver getVariableResolver() 
 public  void handlePageException(Exception ex) throws IOException, ServletException 
 public  void handlePageException(Throwable t) throws IOException, ServletException 
 public  void include(String relativeUrlPath) throws IOException, ServletException 
 public  void include(String relativeUrlPath,
    boolean flush) throws IOException, ServletException 
 public  void initialize(Servlet servlet,
    ServletRequest request,
    ServletResponse response,
    String errorPageURL,
    boolean needsSession,
    int bufferSize,
    boolean autoFlush) throws IllegalArgumentException, IOException, IllegalStateException 
 public JspWriter popBody() 
 public BodyContent pushBody() 
 public JspWriter pushBody(Writer writer) 
 public  void release() 
 public  void removeAttribute(String name) 
 public  void removeAttribute(String name,
    int scope) 
 public Object resolveVariable(String pName) throws ELException 
    VariableResolver interface
 public  void setAttribute(String name,
    Object value) 
 public  void setAttribute(String name,
    Object value,
    int scope) 
 public  void syncBeforeInvoke() 
    Synchronize variables before fragment invokation
 public  void syncBeginTagFile() 
    Synchronize variables at begin of tag file
 public  void syncEndTagFile() 
    Synchronize variables at end of tag file