com.kenai.jaffl.provider.jffi
Class IdentityFunctionMapper

java.lang.Object
  extended by com.kenai.jaffl.provider.jffi.IdentityFunctionMapper
All Implemented Interfaces:
FunctionMapper

public class IdentityFunctionMapper
extends java.lang.Object
implements FunctionMapper

An implementation of FunctionMapper that just returns the same name as input


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.kenai.jaffl.mapper.FunctionMapper
FunctionMapper.Context
 
Field Summary
static FunctionMapper INSTANCE
           
 
Constructor Summary
IdentityFunctionMapper()
           
 
Method Summary
 java.lang.String mapFunctionName(java.lang.String functionName, FunctionMapper.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final FunctionMapper INSTANCE
Constructor Detail

IdentityFunctionMapper

public IdentityFunctionMapper()
Method Detail

mapFunctionName

public java.lang.String mapFunctionName(java.lang.String functionName,
                                        FunctionMapper.Context context)
Specified by:
mapFunctionName in interface FunctionMapper