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.
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
-
Method Details
-
convert
Uses the sourceSobject and produces an new instance ofT.- Parameters:
source- the input to be converted.- Returns:
- an instance of
T, converted from the input source.
-