Interface PoiCategoryFilter

    • Method Detail

      • addCategory

        void addCategory​(PoiCategory category)
        Adds a category to the whitelist.
        Parameters:
        category - The category to be added.
      • getAcceptedCategories

        java.util.Collection<PoiCategory> getAcceptedCategories()
        Returns:
        Set of all categories that are accepted by this filter.
      • getAcceptedSuperCategories

        java.util.Collection<PoiCategory> getAcceptedSuperCategories()
        Returns a set of top-level categories for all accepted categories. These are all accepted categories whose parent category is null or not an accepted category.
        Returns:
        Set of top-level categories for all accepted categories.
      • isAcceptedCategory

        boolean isAcceptedCategory​(PoiCategory category)
        Returns true if a POI's category is accepted and therefore shall be added to the poi file.
        Parameters:
        category - The POI's category.
        Returns:
        true if a POI's category is accepted and therefore shall be added to the poi file.