Interface MappingStrategy<T>
-
- Type Parameters:
T- The type of result.
- All Known Subinterfaces:
HTTPResponseMappingStrategy,ResultMappingStrategy,SearchResultMappingStrategy,StorageMappingStrategy
- All Known Implementing Classes:
AbstractMappingStrategy,ScriptedResponseMappingStrategy,ScriptedStorageMappingStrategy,SimpleStorageMappingStrategy,StringAttributeValueMappingStrategy,StringAttributeValueMappingStrategy,StringResultMappingStrategy,StringResultMappingStrategy
public interface MappingStrategy<T>Strategy for mapping from an arbitrary result type to a collection ofIdPAttributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,IdPAttribute>map(T results)Maps the given results to a collection ofIdPAttributeindexed by the attribute's ID.
-
-
-
Method Detail
-
map
@Nullable Map<String,IdPAttribute> map(@Nonnull T results) throws ResolutionException
Maps the given results to a collection ofIdPAttributeindexed by the attribute's ID.- Parameters:
results- to map- Returns:
- the mapped attributes or null if none exist
- Throws:
ResolutionException- thrown if there is a problem reading data or mapping it
-
-