View Javadoc

1   /***
2    * 
3    */
4   package ar.com.epere4.java2excel.parser.impl;
5   
6   import ognl.Ognl;
7   import ognl.OgnlException;
8   
9   /***
10   * Full implementation of {@link ar.com.epere4.java2excel.parser.PropertyDtd}.
11   * 
12   * @author epere4
13   */
14  public class PropertyDtdImpl extends AbstractPropertyDtd {
15  
16      /***
17       * {@inheritDoc}
18       * 
19       * @see ar.com.epere4.java2excel.parser.PropertyDtd#
20       *      evaluateExpression(java.lang.Object)
21       * @since 09/03/2006
22       */
23      public Object evaluateExpression(final Object element) 
24              throws OgnlException {
25          return Ognl.getValue(this.getExpression(), element);
26      }
27  }