Class HtmlFieldMapper
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<HtmlField,HtmlFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper<HtmlField,HtmlFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.HtmlFieldMapper
- All Implemented Interfaces:
ComponentMapper<HtmlField,
HtmlFieldBean>
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
formComponentDefaultValueResolver
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
ConstructorDescriptionHtmlFieldMapper
(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<HtmlFieldBean> Should be overridden in subclasses.map
(HtmlField component, Component.Configuration configuration) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
getComponentType
-
Constructor Details
-
HtmlFieldMapper
public HtmlFieldMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<HtmlField,
HtmlFieldBean> - Overrides:
map
in classFieldMapper<HtmlField,
HtmlFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classFieldMapper<HtmlField,
HtmlFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<HtmlField,
HtmlFieldBean> - Overrides:
getComponentClass
in classFieldMapper<HtmlField,
HtmlFieldBean>
-