org.zkoss.zuss.impl.out
Class BuiltinResolver

java.lang.Object
  extended by org.zkoss.zuss.impl.out.BuiltinResolver
All Implemented Interfaces:
Resolver

public class BuiltinResolver
extends java.lang.Object
implements Resolver

The resolver providing the built-in variables and functions.

Author:
tomyeh

Constructor Summary
BuiltinResolver()
           
 
Method Summary
static java.lang.Object eval(java.lang.Object val)
          eval(Object val).
 java.lang.reflect.Method getMethod(java.lang.String name)
          Returns the method of the given name, or null if not available.
 java.lang.Object getVariable(java.lang.String name)
          Returns the value of the given name, or null if not available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuiltinResolver

public BuiltinResolver()
Method Detail

getVariable

public java.lang.Object getVariable(java.lang.String name)
Description copied from interface: Resolver
Returns the value of the given name, or null if not available.

Specified by:
getVariable in interface Resolver

getMethod

public java.lang.reflect.Method getMethod(java.lang.String name)
Description copied from interface: Resolver
Returns the method of the given name, or null if not available.

Specified by:
getMethod in interface Resolver

eval

public static java.lang.Object eval(java.lang.Object val)
eval(Object val).



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