Exemplo n.º 1
0
  /** {@inheritDoc} */
  @Override
  protected Map<String, Object> inspectAttributes() {

    Map<String, Object> attrs = super.inspectAttributes();
    if (attrs == null) {
      attrs = new LinkedHashMap<String, Object>(1);
    }
    attrs.put("value", expression.getString());
    return attrs;
  }
Exemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 protected Object invoke(Context context) throws Exception {
   return expression.evaluate(context);
 }