org.apache.jasper.runtime
Class JspContextWrapper
public
class
JspContextWrapper
extends PageContext
implements 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().
Author: Kin-man Chung Jan Luehe Jacob Hookom
Method Summary |
Object | findAttribute(String name) |
void | forward(String relativeUrlPath) |
Object | getAttribute(String name) |
Object | getAttribute(String name, int scope) |
Enumeration<String> | getAttributeNamesInScope(int scope) |
int | getAttributesScope(String name) |
ELContext | getELContext() |
Exception | getException() |
ExpressionEvaluator | getExpressionEvaluator() |
JspWriter | getOut() |
Object | getPage() |
ServletRequest | getRequest() |
ServletResponse | getResponse() |
ServletConfig | getServletConfig() |
ServletContext | getServletContext() |
HttpSession | getSession() |
VariableResolver | getVariableResolver() |
void | handlePageException(Exception ex) |
void | handlePageException(Throwable t) |
void | include(String relativeUrlPath) |
void | include(String relativeUrlPath, boolean flush) |
void | initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) |
JspWriter | popBody() |
BodyContent | pushBody() |
JspWriter | pushBody(Writer writer) |
void | release() |
void | removeAttribute(String name) |
void | removeAttribute(String name, int scope) |
Object | resolveVariable(String pName)
VariableResolver interface |
void | setAttribute(String name, Object value) |
void | setAttribute(String name, Object value, int scope) |
void | syncBeforeInvoke()
Synchronize variables before fragment invokation |
void | syncBeginTagFile()
Synchronize variables at begin of tag file |
void | syncEndTagFile()
Synchronize variables at end of tag file |
public JspContextWrapper(JspContext jspContext, ArrayList nestedVars, ArrayList atBeginVars, ArrayList atEndVars, Map aliases)
public Object findAttribute(String name)
public void forward(String relativeUrlPath)
public Object getAttribute(String name)
public Object getAttribute(String name, int scope)
public Enumeration<String> 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)
public void handlePageException(Throwable t)
public void include(String relativeUrlPath)
public void include(String relativeUrlPath, boolean flush)
public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
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)
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
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.