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,StringResultMappingStrategy
public interface MappingStrategy<T>
Strategy for mapping from an arbitrary result type to a collection of
IdPAttributes.-
Method Summary
Modifier and TypeMethodDescriptionMaps the given results to a collection ofIdPAttributeindexed by the attribute's ID.
-
Method Details
-
map
@Nullable @Unmodifiable @NotLive 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
-