Пример #1
0
 private Object evaluateExpression(
     ExpressionString attribute, JadeModel model, ExpressionHandler expressionHandler)
     throws ExpressionException {
   String expression = ((ExpressionString) attribute).getValue();
   Object result = expressionHandler.evaluateExpression(expression, model);
   if (result instanceof ExpressionString) {
     return evaluateExpression((ExpressionString) result, model, expressionHandler);
   }
   return result;
 }