| Modifier and Type | Class and Description |
|---|---|
class |
DoubleLinkedPoiCategory
A POI category representation that stores a node, its parent node and its child nodes.
|
| Modifier and Type | Field and Description |
|---|---|
protected PoiCategory |
AbstractPoiCategoryManager.rootCategory
The hierarchies root category.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,PoiCategory> |
AbstractPoiCategoryManager.categoryMap
Maps category IDs to categories.
|
| Modifier and Type | Method and Description |
|---|---|
PoiCategory |
PointOfInterest.getCategory() |
PoiCategory |
PoiCategory.getParent() |
PoiCategory |
DoubleLinkedPoiCategory.getParent() |
PoiCategory |
PoiCategoryManager.getPoiCategoryByID(int id)
Returns a category given by its ID or throws an exception if this category does not exist.
|
PoiCategory |
AbstractPoiCategoryManager.getPoiCategoryByID(int id)
Returns a category given by its ID or throws an exception if this category does not exist.
|
PoiCategory |
PoiCategoryManager.getPoiCategoryByTitle(String title)
Returns a category given by unique title or throws an exception if this category does not
exist.
|
PoiCategory |
AbstractPoiCategoryManager.getPoiCategoryByTitle(String title)
Returns a category given by unique title or throws an exception if this category does not
exist.
|
PoiCategory |
PoiCategoryManager.getRootCategory()
Returns the category tree's root.
|
PoiCategory |
AbstractPoiCategoryManager.getRootCategory()
Returns the category tree's root.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<PoiCategory> |
PoiCategory.deepChildren() |
Collection<PoiCategory> |
DoubleLinkedPoiCategory.deepChildren() |
Collection<PoiCategory> |
WhitelistPoiCategoryFilter.getAcceptedCategories() |
Collection<PoiCategory> |
PoiCategoryFilter.getAcceptedCategories() |
Collection<PoiCategory> |
ExactMatchPoiCategoryFilter.getAcceptedCategories() |
Collection<PoiCategory> |
WhitelistPoiCategoryFilter.getAcceptedSuperCategories() |
Collection<PoiCategory> |
PoiCategoryFilter.getAcceptedSuperCategories()
Returns a set of top-level categories for all accepted categories.
|
Collection<PoiCategory> |
ExactMatchPoiCategoryFilter.getAcceptedSuperCategories() |
Collection<PoiCategory> |
PoiCategory.getChildren() |
Collection<PoiCategory> |
DoubleLinkedPoiCategory.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
void |
WhitelistPoiCategoryFilter.addCategory(PoiCategory category)
Adds a POI category to the whitelist.
|
void |
PoiCategoryFilter.addCategory(PoiCategory category)
Adds a category to the whitelist.
|
void |
ExactMatchPoiCategoryFilter.addCategory(PoiCategory category) |
boolean |
WhitelistPoiCategoryFilter.isAcceptedCategory(PoiCategory category) |
boolean |
PoiCategoryFilter.isAcceptedCategory(PoiCategory category)
Returns true if a POI's category is accepted and therefore shall be added to the poi file.
|
boolean |
ExactMatchPoiCategoryFilter.isAcceptedCategory(PoiCategory category) |
void |
PoiCategory.setParent(PoiCategory parent)
Sets the category's parent category.
|
void |
DoubleLinkedPoiCategory.setParent(PoiCategory parent)
Sets the category's parent category.
|
| Constructor and Description |
|---|
DoubleLinkedPoiCategory(String title,
PoiCategory parent)
Creates a new category without knowing its position in the final category tree.
|
DoubleLinkedPoiCategory(String title,
PoiCategory parent,
int id)
Creates a new category.
|
PointOfInterest(long id,
double latitude,
double longitude,
String data,
PoiCategory category) |
Copyright © 2016 mapsforge.org