Interface Converter<S,T>
-
- Type Parameters:
S
- the type of the input of the converter.T
- the type of the output of the converter.
- All Known Implementing Classes:
AbstractPKDataToModelConverter
,BooleanValueFlexibleSearchConverter
,CategoryToDataContentConverter
,CloneComponentMediaContainerDataToAttributeContentConverter
,CMSItemToDataContentConverter
,CMSItemToDataConverter
,ComposedTypeToAttributeCollectionConverter
,DateAttributeToDataContentConverter
,DateDataToAttributeContentConverter
,DateDataToModelConverter
,DefaultAttributeToDataContentConverter
,DefaultAttributeToDataConverter
,DefaultCMSVersionToDataConverter
,DefaultCMSVersionToItemModelPreviewConverter
,DefaultCMSVersionToItemModelRollbackConverter
,DefaultConverter
,DefaultDataToAttributeContentConverter
,DefaultDataToModelConverter
,EnumDataToModelConverter
,GenericComposedTypeToStructureConverter
,ItemToDataConverter
,MediaContainerAttributeToDataContentConverter
,MediaContainerAttributeToDataRenderingContentConverter
,MediaContainerDataToAttributeContentConverter
,MediaContainerToDataConverter
,MediaToDataContentConverter
,NavigationNodeToDataContentConverter
,PageStatusEnumValueFlexibleSearchConverter
,PKDataToModelPreviewConverter
,PKDataToModelRollbackConverter
,ProductToDataContentConverter
,UniqueIdentifierAttributeToDataContentConverter
,UniqueIdentifierDataToAttributeContentConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Converter<S,T>
Converter is a Functional interface that accepts one argument and produces another. The converter is expected to create a new instance of the output class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(S source)
Uses the sourceS
object and produces an new instance ofT
.
-