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 theFunction
methods.- Since:
- 3.0.0
- Author:
- tomyeh
- See Also:
FunctionMapperExt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Function
resolveFunction(java.lang.String prefix, java.lang.String name)
Resolves a functionFunction
with the specified name and prefix.
-
-
-
Method Detail
-
resolveFunction
Function resolveFunction(java.lang.String prefix, java.lang.String name) throws XelException
Resolves a functionFunction
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 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
-
-