Package com.webmethods.caf.faces.el
Class StaticFunctionMapper
java.lang.Object
javax.el.FunctionMapper
com.webmethods.caf.faces.el.StaticFunctionMapper
Generic function-mapper which optionally wraps an existing function-mapper,
and maps functions of a configured prefix to the public static methods
of a configured static class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStaticFunctionMapper
(FunctionMapper wrapped) StaticFunctionMapper
(FunctionMapper wrapped, String prefix, Class<?> staticClass) -
Method Summary
Modifier and TypeMethodDescriptiongetFunctions
(Class<?> cls) Returns the function mapping for the specified static class.Class<?>
resolveFunction
(String prefix, String localName) void
setFunctions
(Map<String, Method> functions) void
void
setStaticClass
(Class<?> staticClass) void
setWrapped
(FunctionMapper wrapped)
-
Field Details
-
s_functions
-
m_functions
-
m_wrapped
-
m_prefix
-
m_staticClass
-
-
Constructor Details
-
StaticFunctionMapper
public StaticFunctionMapper() -
StaticFunctionMapper
-
StaticFunctionMapper
-
-
Method Details
-
resolveFunction
- Specified by:
resolveFunction
in classFunctionMapper
-
getFunctions
Returns the function mapping for the specified static class. -
getWrapped
-
setWrapped
-
getFunctions
-
setFunctions
-
getPrefix
-
setPrefix
-
getStaticClass
-
setStaticClass
-