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) |
mapFunction
public Method resolveFunction(String prefix, String localName)
FunctionMapper
java.lang.Method
.
Returns null
if no function could be found that matches
the given prefix and local name.
resolveFunction
in class FunctionMapper
prefix
- 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 © 2017 JBoss by Red Hat. All rights reserved.