Presentation
- the model typeModel
- the presentation typepublic static class FieldValueConverter.Wrapper<Presentation,Model> extends Object implements FieldValueConverter<Presentation,Model>
delegate
.FieldValueConverter.Wrapper<Presentation,Model>
Constructor and Description |
---|
Wrapper(FieldValueConverter<Presentation,Model> delegate) |
Modifier and Type | Method and Description |
---|---|
Model |
convertToModel(Presentation value,
Class<? extends Model> targetType,
Locale locale) |
Presentation |
convertToPresentation(Model value,
Class<? extends Presentation> targetType,
Locale locale) |
public Wrapper(FieldValueConverter<Presentation,Model> delegate)
public Model convertToModel(Presentation value, Class<? extends Model> targetType, Locale locale)
convertToModel
in interface FieldValueConverter<Presentation,Model>
public Presentation convertToPresentation(Model value, Class<? extends Presentation> targetType, Locale locale)
convertToPresentation
in interface FieldValueConverter<Presentation,Model>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.