public interface ITypeConverterRule extends ITypeConverter
| Modifier and Type | Interface and Description |
|---|---|
static class |
ITypeConverterRule.ESubType
Define the sub types of the rules.
|
| 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.
|
ITypeConverterRule.ESubType |
getSubType() |
convert@Nonnull ITypeConverterRule.ESubType getSubType()
null.boolean canConvert(@Nonnull Class<?> aSrcClass, @Nonnull Class<?> aDstClass)
aSrcClass - Source class to convert from. Never null.aDstClass - Destination class to convert to. Never null.true if conversion is possible, false
otherwise.Copyright © 2006–2014 phloc systems. All rights reserved.