public class MapBasedFunctionMapper extends FunctionMapper
| Constructor and Description |
|---|
MapBasedFunctionMapper() |
| Modifier and Type | Method and Description |
|---|---|
Method |
resolveFunction(String prefix,
String localName)
Resolves the specified prefix and local name into a
java.lang.Method. |
void |
setFunction(String prefix,
String localName,
Method method) |
mapFunctionpublic Method resolveFunction(String prefix, String localName)
FunctionMapperjava.lang.Method.
Returns null if no function could be found that matches
the given prefix and local name.
resolveFunction in class FunctionMapperprefix - the prefix of the function, or "" if no prefix.
For example, "fn" in ${fn:method()}, or
"" in ${method()}.localName - the short name of the function. For example,
"method" in ${fn:method()}.null if no
match was found.Copyright © 2018 JBoss by Red Hat. All rights reserved.