public class ELActionContext extends AbstractActionContext implements ActionContext
| Modifier and Type | Field and Description |
|---|---|
static javax.el.ExpressionFactory |
EXPRESSION_FACTORY |
protected javax.el.ExpressionFactory |
expressionFactory |
protected javax.el.ELContext |
originalContext |
currentDocument, currentPrincipal, docMgr, localVariables| Constructor and Description |
|---|
ELActionContext() |
ELActionContext(javax.el.ELContext originalContext,
javax.el.ExpressionFactory expressionFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCondition(String expression)
Returns true if given expression resolves to true in this context.
|
disableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, sizeprotected final javax.el.ELContext originalContext
protected final javax.el.ExpressionFactory expressionFactory
public static final javax.el.ExpressionFactory EXPRESSION_FACTORY
public ELActionContext()
public ELActionContext(javax.el.ELContext originalContext, javax.el.ExpressionFactory expressionFactory)
public boolean checkCondition(String expression) throws javax.el.ELException
ActionContextReturns false if expression is blank (null or empty).
checkCondition in interface ActionContextcheckCondition in class AbstractActionContextjavax.el.ELExceptionCopyright © 2017 Nuxeo. All rights reserved.