public abstract class AbstractTypeConverterRuleFixedSourceAssignableDestination extends AbstractTypeConverterRule
ITypeConverterRule.ESubType| Constructor and Description |
|---|
AbstractTypeConverterRuleFixedSourceAssignableDestination(Class<?> aSrcClass,
Class<?> aDstClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class<?> aSrcClass,
Class<?> aDstClass)
Check if this converter can handle the conversion from the passed source to
the passed destination class.
|
Class<?> |
getDestinationClass() |
Class<?> |
getSourceClass() |
String |
toString() |
getSubTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconvertpublic final boolean canConvert(@Nonnull Class<?> aSrcClass, @Nonnull Class<?> aDstClass)
ITypeConverterRuleaSrcClass - Source class to convert from. Never null.aDstClass - Destination class to convert to. Never null.true if conversion is possible, false
otherwise.public String toString()
toString in class AbstractTypeConverterRuleCopyright © 2006–2014 phloc systems. All rights reserved.