Package org.zkoss.xel
Interface VariableResolver
-
- All Known Subinterfaces:
VariableResolverX
- All Known Implementing Classes:
SimpleResolver
public interface VariableResolverUsed to customize the way anExpressionresolves variable references at evaluation time.Since 5.0.0, you can implement another interface called
VariableResolverXto have more control about resolving the variables.Any class implementing this interface shall implement
Object.equals(Object)andObject.hashCode()- Since:
- 3.0.0
- Author:
- tomyeh
- See Also:
VariableResolverX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectresolveVariable(java.lang.String name)Resolves the specified variable.
-
-
-
Method Detail
-
resolveVariable
java.lang.Object resolveVariable(java.lang.String name) throws XelExceptionResolves the specified variable.- Parameters:
name- the name of the variable to resolve- Throws:
XelException
-
-