Class AddressMapper
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<AddressField,AddressFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.LocationMapper<AddressField,AddressFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.AddressMapper
- All Implemented Interfaces:
ComponentMapper<AddressField,
AddressFieldBean>
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.LocationMapper
COUNTRY_SPLITTER
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AddressFieldBean
protected Class
<AddressFieldBean> Should be overridden in subclasses.map
(AddressField component, Component.Configuration configuration) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.LocationMapper
setDefaultCountries
Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
getComponentType
-
Constructor Details
-
AddressMapper
-
-
Method Details
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classLocationMapper<AddressField,
AddressFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<AddressField,
AddressFieldBean> - Overrides:
getComponentClass
in classLocationMapper<AddressField,
AddressFieldBean>
-
map
- Specified by:
map
in interfaceComponentMapper<AddressField,
AddressFieldBean> - Overrides:
map
in classLocationMapper<AddressField,
AddressFieldBean>
-
createBeanInstance
- Overrides:
createBeanInstance
in classLocationMapper<AddressField,
AddressFieldBean>
-