jnr.ffi.mapper
Class CompositeTypeMapper

java.lang.Object
  extended by jnr.ffi.mapper.CompositeTypeMapper
All Implemented Interfaces:
SignatureTypeMapper

public final class CompositeTypeMapper
extends Object
implements SignatureTypeMapper


Constructor Summary
CompositeTypeMapper(Collection<SignatureTypeMapper> signatureTypeMappers)
           
CompositeTypeMapper(SignatureTypeMapper... signatureTypeMappers)
           
 
Method Summary
 FromNativeType getFromNativeType(SignatureType type, FromNativeContext context)
           
 ToNativeType getToNativeType(SignatureType type, ToNativeContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeTypeMapper

public CompositeTypeMapper(SignatureTypeMapper... signatureTypeMappers)

CompositeTypeMapper

public CompositeTypeMapper(Collection<SignatureTypeMapper> signatureTypeMappers)
Method Detail

getFromNativeType

public FromNativeType getFromNativeType(SignatureType type,
                                        FromNativeContext context)
Specified by:
getFromNativeType in interface SignatureTypeMapper

getToNativeType

public ToNativeType getToNativeType(SignatureType type,
                                    ToNativeContext context)
Specified by:
getToNativeType in interface SignatureTypeMapper


Copyright © 2013. All Rights Reserved.