Class CompoundItemDataProvider

  • All Implemented Interfaces:
    ItemDataProvider

    public class CompoundItemDataProvider
    extends Object
    implements ItemDataProvider

    Retrieves citation items from a list of other ItemDataProviders.

    Calls each ItemDataProvider in the order they have been added to the list and returns the first citation item retrieved. Returns null if no provider returned a result.

    Does not check for duplicate items or item IDs.

    Since:
    1.1.0
    Author:
    Michel Kraemer
    • Constructor Detail

      • CompoundItemDataProvider

        public CompoundItemDataProvider​(List<ItemDataProvider> providers)
        Creates a new compound provider
        Parameters:
        providers - the list of other providers to query for citation items