com.sri.oaa2.mapper
Interface IclMapper


public interface IclMapper

This is the interface for custom ICL mapping components. Custom mappings from ICL to Java and back can be implemented using this interface and plugged into the ICL mapping framework. The class that implements this interface should be thread-safe.


Method Summary
 java.lang.Object iclToJava(java.lang.Class type, IclTerm icl, OAAMapper mapper)
           
 IclTerm javaToIcl(java.lang.Object value, OAAMapper mapper)
           
 

Method Detail

javaToIcl

public IclTerm javaToIcl(java.lang.Object value,
                         OAAMapper mapper)
                  throws MappingException
MappingException

iclToJava

public java.lang.Object iclToJava(java.lang.Class type,
                                  IclTerm icl,
                                  OAAMapper mapper)
                           throws MappingException
MappingException