|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.value.DeferredEnvironment
Environment for executing expressions
Nested Class Summary | |
protected static class |
DeferredEnvironment.BeanVariableResolver
Variable Resolver |
protected static class |
DeferredEnvironment.ELFunctionMapper
Function mapper |
protected static class |
DeferredEnvironment.ELLogger
Logger |
Field Summary | |
static java.lang.String |
BEAN_NAME
The name that can be used in deferred expressions to access the (row-) bean |
private javax.servlet.jsp.el.FunctionMapper |
functionMapper
Function mapper for custom functions |
private static org.apache.commons.logging.Log |
log
Logging instance |
private org.apache.commons.el.Logger |
logger
Logger |
private javax.servlet.jsp.PageContext |
pageContext
The Page Context of the current JSP page |
private DeferredEnvironment.BeanVariableResolver |
variableResolver
The variable resolver that gives access to the (row-)bean |
Constructor Summary | |
DeferredEnvironment(javax.servlet.jsp.PageContext pageContext)
Constructor |
|
DeferredEnvironment(javax.servlet.jsp.PageContext pageContext,
java.lang.Object bean)
Constructor |
Method Summary | |
protected java.lang.Object |
evaluate(java.lang.String expression)
Evaluates the given expression or expression string (multiple expressions in one string). |
java.lang.Object |
getBean()
Retrieves the (row-) bean |
javax.servlet.jsp.PageContext |
getPageContext()
|
void |
setBean(java.lang.Object bean)
Sets the (row-) bean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String BEAN_NAME
private static org.apache.commons.logging.Log log
private javax.servlet.jsp.PageContext pageContext
private DeferredEnvironment.BeanVariableResolver variableResolver
private javax.servlet.jsp.el.FunctionMapper functionMapper
private org.apache.commons.el.Logger logger
Constructor Detail |
public DeferredEnvironment(javax.servlet.jsp.PageContext pageContext)
pageContext
- The Page Context of the current JSP pagepublic DeferredEnvironment(javax.servlet.jsp.PageContext pageContext, java.lang.Object bean)
pageContext
- The Page Context of the current JSP pagebean
- The (row-) beanMethod Detail |
public void setBean(java.lang.Object bean)
bean
- the (row-) beanpublic java.lang.Object getBean()
public javax.servlet.jsp.PageContext getPageContext()
protected java.lang.Object evaluate(java.lang.String expression)
expression
- The Expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |