Package org.opensextant.extractors.geo
Interface LocationObserver
- All Known Implementing Classes:
PlaceGeocoder
public interface LocationObserver
Apply this interface where application logic observes a coordinate or any
hard location reference.
- Author:
- ubaldino
-
Method Summary
Modifier and TypeMethodDescriptionvoid
locationInScope
(org.opensextant.data.Geocoding geo) If a given geo is in scope, fire this event.boolean
placeObserved
(org.opensextant.data.Place p) The place know by the ID, p.getKey() or p.getPlaceID() was it observed directly or indirectly in this document?
-
Method Details
-
locationInScope
void locationInScope(org.opensextant.data.Geocoding geo) If a given geo is in scope, fire this event.- Parameters:
geo
-
-
placeObserved
boolean placeObserved(org.opensextant.data.Place p) The place know by the ID, p.getKey() or p.getPlaceID() was it observed directly or indirectly in this document?- Parameters:
p
-- Returns:
-