org.zkoss.zk.xel.impl
Class ExecutionResolver

java.lang.Object
  extended by org.zkoss.zk.xel.impl.ExecutionResolver
All Implemented Interfaces:
org.zkoss.xel.VariableResolver

public class ExecutionResolver
extends java.lang.Object
implements org.zkoss.xel.VariableResolver

A variable resolver that is based on the specified execution.

Since:
3.0.0
Author:
tomyeh

Constructor Summary
ExecutionResolver(Execution exec, org.zkoss.xel.VariableResolver parent)
          Constructs a resolver with a parent and a page.
 
Method Summary
 java.lang.Object getSelf()
          Returns the self variable.
 java.lang.Object resolveVariable(java.lang.String name)
           
 void setSelf(java.lang.Object self)
          Sets the self variable.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

setSelf

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


getSelf

public java.lang.Object getSelf()
Returns the self variable.


resolveVariable

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.