Class ExecutionResolver

java.lang.Object
org.zkoss.zk.xel.impl.ExecutionResolver
All Implemented Interfaces:
org.zkoss.xel.VariableResolver, org.zkoss.xel.VariableResolverX

public class ExecutionResolver extends Object implements org.zkoss.xel.VariableResolverX
A variable resolver that is based on the specified execution.
Since:
3.0.0
Author:
tomyeh
  • Constructor Details

    • ExecutionResolver

      public ExecutionResolver(Execution exec, org.zkoss.xel.VariableResolver parent)
      Constructs a resolver with a parent and a page.
      Parameters:
      parent - the parent resolver (null means ignored).
      exec - the current execution
  • Method Details

    • setSelf

      public void setSelf(Object self)
      Sets the self variable. The self variable also acts as the context to resolve other variables.
    • getSelf

      public Object getSelf()
      Returns the self variable.
    • resolveVariable

      public Object resolveVariable(String name) throws org.zkoss.xel.XelException
      Specified by:
      resolveVariable in interface org.zkoss.xel.VariableResolver
      Throws:
      org.zkoss.xel.XelException
    • resolveVariable

      public Object resolveVariable(org.zkoss.xel.XelContext ctx, Object base, Object onm)
      Specified by:
      resolveVariable in interface org.zkoss.xel.VariableResolverX
    • resolveVariable0

      protected Object resolveVariable0(Object self, org.zkoss.xel.XelContext ctx, Object base, Object onm)
    • toString

      public String toString()
      Overrides:
      toString in class Object