Package org.zkoss.xel
Interface FunctionMapperExt
- All Known Implementing Classes:
DualFunctionMapper,SimpleMapper,TaglibMapper
public interface FunctionMapperExt
Implemented with
FunctionMapper to resolve the class.
The default evaluator ignores this interface. It is used only with
special evaluators such as MVEL and OGNL.
In other words, you rarely need to implement this interface.- Since:
- 6.0.0
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionReturns a readonly collection of the logic names of the class (never null).Class<?>resolveClass(String name) Resolves a class with the specified logic name, or null if not found.
-
Method Details
-
getClassNames
Collection<String> getClassNames()Returns a readonly collection of the logic names of the class (never null). Note: it is the name to resolve class, not the real class name. In other words, it is the logical name maintained by this function mapper. -
resolveClass
Resolves a class with the specified logic name, or null if not found.Note: not all EL evaluator support
resolveClass(java.lang.String). JSP 2.0/2.1 EL-based expression factories don't support this method. You can checkExpressionFactory.isSupported(int)for this support.- Returns:
- the class of the specified logic name.
- Throws:
XelException
-