Package org.zkoss.zk.xel.impl
Class ExecutionResolver
java.lang.Object
org.zkoss.zk.xel.impl.ExecutionResolver
- All Implemented Interfaces:
org.zkoss.xel.VariableResolver,org.zkoss.xel.VariableResolverX
A variable resolver that is based on the specified execution.
- Since:
- 3.0.0
- Author:
- tomyeh
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionResolver(Execution exec, org.zkoss.xel.VariableResolver parent) Constructs a resolver with a parent and a page. -
Method Summary
Modifier and TypeMethodDescriptiongetSelf()Returns the self variable.resolveVariable(String name) resolveVariable(org.zkoss.xel.XelContext ctx, Object base, Object onm) protected ObjectresolveVariable0(Object self, org.zkoss.xel.XelContext ctx, Object base, Object onm) voidSets the self variable.toString()
-
Constructor Details
-
ExecutionResolver
Constructs a resolver with a parent and a page.- Parameters:
parent- the parent resolver (null means ignored).exec- the current execution
-
-
Method Details
-
setSelf
Sets the self variable. The self variable also acts as the context to resolve other variables. -
getSelf
Returns the self variable. -
resolveVariable
- Specified by:
resolveVariablein interfaceorg.zkoss.xel.VariableResolver- Throws:
org.zkoss.xel.XelException
-
resolveVariable
- Specified by:
resolveVariablein interfaceorg.zkoss.xel.VariableResolverX
-
resolveVariable0
-
toString
-