org.peaseplate.internal.conversion
Class ConversionCollection<SOURCE>
java.lang.Object
org.peaseplate.internal.conversion.ConversionCollection<SOURCE>
public class ConversionCollection<SOURCE>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversionCollection
public ConversionCollection(java.lang.Class<SOURCE> sourceType)
getSourceType
public java.lang.Class<SOURCE> getSourceType()
add
public void add(java.lang.Class<?> targetType,
Conversion<SOURCE,?> conversion)
get
protected <TARGET> Conversion<SOURCE,TARGET> get(java.lang.Class<TARGET> targetType)
resolve
public <TARGET> Conversion<SOURCE,TARGET> resolve(java.lang.Class<TARGET> targetType)
resolveFromPrimitiveType
protected <TARGET> Conversion<SOURCE,TARGET> resolveFromPrimitiveType(java.lang.Class<TARGET> targetType)
resolveFromSuperType
protected <TARGET> Conversion<SOURCE,TARGET> resolveFromSuperType(java.lang.Class<TARGET> targetType)
resolveFromInterfaces
protected <TARGET> Conversion<SOURCE,TARGET> resolveFromInterfaces(java.lang.Class<TARGET> targetType)
Copyright © 2008. All Rights Reserved.