org.zkoss.xel
Interface FunctionMapper

All Known Implementing Classes:
SimpleMapper

public interface FunctionMapper

Used to customize the way to map between the XEL function names and the Function methods.

Since:
2.4.2
Author:
tomyeh

Method Summary
 java.util.Collection getClassNames()
          Returns a readonly collection of the logic names of the class (never null).
 java.lang.Class resolveClass(java.lang.String name)
          Resolves a class with the specified logic name, or null if not found.
 Function resolveFunction(java.lang.String prefix, java.lang.String name)
          Resolves a function Function with the specified name and prefix.
 

Method Detail

resolveFunction

Function resolveFunction(java.lang.String prefix,
                         java.lang.String name)
                         throws XelException
Resolves a function Function with the specified name and prefix.

Parameters:
prefix - the prefix of the function, or "" if no prefix
name - the name of the function to resolve
Throws:
XelException

getClassNames

java.util.Collection getClassNames()
Returns a readonly collection of the logic names of the class (never null).

It is used only with ZK 3.0 and later. It is not used in ZK 2.4.x.


resolveClass

java.lang.Class resolveClass(java.lang.String name)
                             throws XelException
Resolves a class with the specified logic name, or null if not found.

It is used only with ZK 3.0 and later. It is not used in ZK 2.4.x.

Throws:
XelException


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