org.zkoss.zkdemo.test
Class TestVariableResolver

java.lang.Object
  extended by org.zkoss.zkdemo.test.TestVariableResolver
All Implemented Interfaces:
VariableResolver

public class TestVariableResolver
extends java.lang.Object
implements VariableResolver

An implementation of the variable resolver to test whether it works.

Test: http://localhost/zkdemo/test/vresolver.zul

It resolves friends to a list of String instances.

Author:
tomyeh

Constructor Summary
TestVariableResolver()
           
 
Method Summary
 java.lang.Object resolveVariable(java.lang.String name)
          Resolves the specified variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestVariableResolver

public TestVariableResolver()
Method Detail

resolveVariable

public java.lang.Object resolveVariable(java.lang.String name)
Description copied from interface: VariableResolver
Resolves the specified variable.

Specified by:
resolveVariable in interface VariableResolver
Parameters:
name - the name of the variable to resolve


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