Class BaseComponentMapper<I extends Component,O extends ComponentBean>
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<I,O>
- All Implemented Interfaces:
ComponentMapper<I,
O>
- Direct Known Subclasses:
ActionBarMapper
,ActionGroupComponentMapper
,BaseActionComponentMapper
,ComponentContainerMapper
,CompositeComponentMapper
,DescriptionMapper
,DisplayMapper
,FieldMapper
,GeosearchFieldMapper
,LayoutMapper
,LocationMapper
,SearchFilterComponentMapper
,SubTableMapper
,TermsComponentMapper
@Component
public class BaseComponentMapper<I extends Component,O extends ComponentBean>
extends Object
implements ComponentMapper<I,O>
Base class for component mappers.
Subclasses should override
getBeanClass()
to specify what type
of bean they return.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionShould be overridden in subclasses.protected String
map
(I component, Component.Configuration configuration)
-
Field Details
-
textResources
-
-
Constructor Details
-
BaseComponentMapper
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<I extends Component,
O extends ComponentBean>
-
getComponentType
-
getBeanClass
Should be overridden in subclasses.- Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<I extends Component,
O extends ComponentBean>
-