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, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableGlobalCaching, getCurrentDocument, getCurrentPrincipal, getDocumentManager, getLocalVariable, putAllLocalVariables, putLocalVariable, setCurrentDocument, setCurrentPrincipal, setDocumentManager, size
protected 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
ActionContext
Returns false if expression is blank (null or empty).
checkCondition
in interface ActionContext
checkCondition
in class AbstractActionContext
javax.el.ELException
Copyright © 2017 Nuxeo. All rights reserved.