Package 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:
-
Method Summary
Modifier and TypeMethodDescriptionresolveFunction(String prefix, String name) Resolves a functionFunctionwith the specified name and prefix.
-
Method Details
-
resolveFunction
Resolves a functionFunctionwith 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 checkExpressionFactory.isSupported(int)for this support.- Parameters:
prefix- the prefix of the function, or "" if no prefixname- the name of the function to resolve- Throws:
XelException
-