|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionMapper
Used to customize the way to map between the XEL function names
and the Function
methods.
Method Summary | |
---|---|
java.util.Collection |
getClassNames()
Returns a readonly collection of the logic names of the class (never null). |
java.lang.Class |
resolveClass(java.lang.String name)
Resolves a class with the specified logic name, or null if not found. |
Function |
resolveFunction(java.lang.String prefix,
java.lang.String name)
Resolves a function Function with the specified name and
prefix. |
Method Detail |
---|
Function resolveFunction(java.lang.String prefix, java.lang.String name) throws XelException
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.
prefix
- the prefix of the function, or "" if no prefixname
- the name of the function to resolve
XelException
java.util.Collection getClassNames()
java.lang.Class resolveClass(java.lang.String name) throws XelException
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 check ExpressionFactory.isSupported(int)
for this
support.
XelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |