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() |
void |
mapFunction(java.lang.String prefix,
java.lang.String localName,
java.lang.reflect.Method method)
Map a method to a function name.
|
java.lang.reflect.Method |
resolveFunction(java.lang.String prefix,
java.lang.String localName) |
protected FunctionMapperImpl memento
protected final FunctionMapper target
public FunctionMapperFactory(FunctionMapper mapper)
public java.lang.reflect.Method resolveFunction(java.lang.String prefix, java.lang.String localName)
resolveFunction
in class FunctionMapper
public void mapFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method method)
FunctionMapper
mapFunction
in class FunctionMapper
prefix
- Function prefixlocalName
- Function namemethod
- Methodpublic FunctionMapper create()
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.