de.monarchy.guideme.pois
Interface POIProvider
- All Known Implementing Classes:
- WikipediaProvider
public interface POIProvider
This interface describes a simple provider for POIs.
Classes implementing this interface have to follow one important convention:
they have to be instanciated with a default constructor. If no default
constructor exists, reflective creation will not be performed, so no
data will be received.
- Author:
- dstuerze
Method Summary |
POI[] |
receivePOIs(GeoCoordinate where,
int radius,
java.lang.String what)
This method is called by anyone who wants to receive points of interest
in a certain radius around a specified location. |
receivePOIs
POI[] receivePOIs(GeoCoordinate where,
int radius,
java.lang.String what)
- This method is called by anyone who wants to receive points of interest
in a certain radius around a specified location.
- Parameters:
where
- central point of searchradius
- distance in metres around this spotwhat
- specification of what to search (optional)
- Returns:
- array of POIs