public class ReadablePartialTranslatorFactory extends ValueTranslatorFactory<org.joda.time.ReadablePartial,String>
All custom translators must be registered *before* entity classes are registered.
Constructor and Description |
---|
ReadablePartialTranslatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected ValueTranslator<org.joda.time.ReadablePartial,String> |
createValueTranslator(TypeKey<org.joda.time.ReadablePartial> tk,
CreateContext ctx,
Path path)
Create a translator, knowing that we have the appropriate type.
|
create
protected ValueTranslator<org.joda.time.ReadablePartial,String> createValueTranslator(TypeKey<org.joda.time.ReadablePartial> tk, CreateContext ctx, Path path)
ValueTranslatorFactory
createValueTranslator
in class ValueTranslatorFactory<org.joda.time.ReadablePartial,String>
tk
- type is guaranteed to erase to something assignable to ClassCopyright © 2016. All rights reserved.