|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.web.servlet.xel.RequestXelResolver
public abstract class RequestXelResolver
A XEL variable resolver that is based on Servlet request, response, and EL.
Constructor Summary | |
---|---|
RequestXelResolver(javax.servlet.ServletContext ctx,
javax.servlet.ServletRequest request)
|
|
RequestXelResolver(javax.servlet.ServletContext ctx,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Request-based resolver. |
|
RequestXelResolver(javax.servlet.ServletRequest request)
|
Method Summary | |
---|---|
abstract ExpressionFactory |
getExpressionFactory()
Returns the expression factory (never null). |
PageContext |
getPageContext()
Returns the page context. |
javax.servlet.ServletRequest |
getRequest()
Returns the request. |
javax.servlet.ServletResponse |
getResponse()
Returns the response. |
javax.servlet.ServletContext |
getServletContext()
Returns the context. |
java.lang.Object |
resolveVariable(java.lang.String name)
Resolves the specified variable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestXelResolver(javax.servlet.ServletContext ctx, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
ctx
- the context; which might be nullrequest
- the request. It cannot be null.response
- the response, which might bell.
java.lang.IllegalArgumentException
- if request is null.public RequestXelResolver(javax.servlet.ServletContext ctx, javax.servlet.ServletRequest request)
public RequestXelResolver(javax.servlet.ServletRequest request)
Method Detail |
---|
public abstract ExpressionFactory getExpressionFactory()
The deriving class must override it.
public PageContext getPageContext()
public javax.servlet.ServletRequest getRequest()
public javax.servlet.ServletResponse getResponse()
public javax.servlet.ServletContext getServletContext()
public java.lang.Object resolveVariable(java.lang.String name) throws XelException
VariableResolver
resolveVariable
in interface VariableResolver
name
- the name of the variable to resolve
XelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |