Class MultiInfoItemsCollector

All Implemented Interfaces:
Collector<InfoItem,InfoItemExtractor>

public class MultiInfoItemsCollector extends InfoItemsCollector<InfoItem,InfoItemExtractor>
A collector that can handle many extractor types, to be used when a list contains items of different types (e.g. search)

This collector can handle the following extractor types:

Calling extract(InfoItemExtractor) or InfoItemsCollector.commit(InfoItemExtractor) with any other extractor type will raise an exception.