public class EnumTranslatorFactory extends ValueTranslatorFactory<Enum<?>,String>
Constructor and Description |
---|
EnumTranslatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected ValueTranslator<Enum<?>,String> |
createSafe(Path path,
Property property,
Type type,
CreateContext ctx)
Create a translator, knowing that we have the appropriate type.
|
create
protected ValueTranslator<Enum<?>,String> createSafe(Path path, Property property, Type type, CreateContext ctx)
ValueTranslatorFactory
createSafe
in class ValueTranslatorFactory<Enum<?>,String>
type
- is guaranteed to erase to something assignable to ClassCopyright © 2014. All rights reserved.