org.zkoss.xel
Interface FunctionMapper

All Known Implementing Classes:
DualFunctionMapper, SimpleMapper, TaglibMapper

public interface FunctionMapper

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

Since:
3.0.0
Author:
tomyeh
See Also:
FunctionMapperExt

Method Summary
 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.

Note: not all EL evaluator support resolveFunction(java.lang.String, java.lang.String). Currently only JSP 2.0/2.1 EL-based expression factories support this method. You can check ExpressionFactory.isSupported(int) for this support.

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo