public class ExpressionUtils extends Object
Constructor and Description |
---|
ExpressionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
evaluateCurrentStack(String stack,
List<String> controlNames)
Used internally by parseExpression to evalute if the current stack is a property
name (ie, will be a control on the form)
|
static String |
parseExpression(String exp,
List<String> controlNames)
Takes in an expression and a list to be filled in with names(property names)
of controls found in the expression.
|
static void |
populatePropertyExpressionsFromGraph(UifDictionaryBean expressionConfigurable)
Pulls expressions within the expressionConfigurable's expression graph and moves them to the property
expressions
map for the expressionConfigurable or a nested expressionConfigurable (for the case of nested expression
property
names)
|
public ExpressionUtils()
public static void populatePropertyExpressionsFromGraph(UifDictionaryBean expressionConfigurable)
Expressions that are configured on properties and pulled out by the UifBeanFactoryPostProcessor
and put in the UifDictionaryBean.getExpressionGraph()
for the
bean
that is
at root (non nested) level. Before evaluating the expressions, they need to be moved to the
UifDictionaryBean.getPropertyExpressions()
map for the
expressionConfigurable that
property
is on.
expressionConfigurable
- expressionConfigurable instance to process expressions forpublic static String parseExpression(String exp, List<String> controlNames)
exp
- controlNames
- public static void evaluateCurrentStack(String stack, List<String> controlNames)
stack
- controlNames
- Copyright © 2005–2014 The Kuali Foundation. All rights reserved.