Class ExactMatchPoiCategoryFilter

    • Constructor Detail

      • ExactMatchPoiCategoryFilter

        public ExactMatchPoiCategoryFilter()
        Default constructor.
    • Method Detail

      • getAcceptedSuperCategories

        public java.util.Collection<PoiCategory> getAcceptedSuperCategories()
        Description copied from interface: PoiCategoryFilter
        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.
        Specified by:
        getAcceptedSuperCategories in interface PoiCategoryFilter
        Returns:
        Set of top-level categories for all accepted categories.
      • isAcceptedCategory

        public boolean isAcceptedCategory​(PoiCategory category)
        Description copied from interface: PoiCategoryFilter
        Returns true if a POI's category is accepted and therefore shall be added to the poi file.
        Specified by:
        isAcceptedCategory in interface PoiCategoryFilter
        Parameters:
        category - The POI's category.
        Returns:
        true if a POI's category is accepted and therefore shall be added to the poi file.