public class FunctionMapperFactory extends FunctionMapper
Modifier and Type | Field and Description |
---|---|
protected FunctionMapperImpl |
memento |
protected FunctionMapper |
target |
Constructor and Description |
---|
FunctionMapperFactory(FunctionMapper mapper) |
Modifier and Type | Method and Description |
---|---|
FunctionMapper |
create() |
Method |
resolveFunction(String prefix,
String localName)
Resolves the specified prefix and local name into a
java.lang.Method . |
mapFunction
protected FunctionMapperImpl memento
protected FunctionMapper target
public FunctionMapperFactory(FunctionMapper mapper)
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.public FunctionMapper create()
Copyright © 2016. All rights reserved.