public abstract class RequestXelResolver extends java.lang.Object implements VariableResolver
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
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 resolveXelException
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.