01: /* Expression.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Thu Aug 30 09:53:39 2007, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.xel;
20:
21: /**
22: * Represent a prepared (aka., compiled) expression.
23: * It can be retrieved by use of {@link ExpressionFactory}.
24: *
25: * @author tomyeh
26: * @since 3.0.0
27: */
28: public interface Expression {
29: /** Evaluates an expression that was previously prepared.
30: */
31: public Object evaluate(XelContext ctx) throws XelException;
32: }
|