01: /* VariableResolver.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Thu Aug 30 10:17:36 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: * Used to customize the way an {@link Expression} resolves variable
23: * references at evaluation time.
24: *
25: * @author tomyeh
26: * @since 3.0.0
27: */
28: public interface VariableResolver {
29: /** Resolves the specified variable.
30: *
31: * @param name the name of the variable to resolve
32: */
33: public Object resolveVariable(String name) throws XelException;
34: }
|