Package org.zkoss.xel

Interface VariableResolver

  • All Known Subinterfaces:
    VariableResolverX
    All Known Implementing Classes:
    SimpleResolver

    public interface VariableResolver
    Used to customize the way an Expression resolves variable references at evaluation time.

    Since 5.0.0, you can implement another interface called VariableResolverX to have more control about resolving the variables.

    Any class implementing this interface shall implement Object.equals(Object) and Object.hashCode()

    Since:
    3.0.0
    Author:
    tomyeh
    See Also:
    VariableResolverX
    • Method Detail

      • resolveVariable

        java.lang.Object resolveVariable​(java.lang.String name)
                                  throws XelException
        Resolves the specified variable.
        Parameters:
        name - the name of the variable to resolve
        Throws:
        XelException