public class AddressDetailHandler extends CotDetailHandler
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
locationHash(GeoPoint gp)
Produce a hash that can be utilized to determine if the point provided is still the correct address 
 | 
boolean | 
toCotDetail(MapItem m,
           CotEvent event,
           CotDetail detail)
Convert map item metadata to a CoT detail 
 | 
CommsMapComponent.ImportResult | 
toItemMetadata(MapItem item,
              CotEvent event,
              CotDetail detail)
Convert CoT event detail to map item metadata 
 | 
getDetailNames, getMapItem, getPoint, isSupported, parseDouble, parseIntpublic boolean toCotDetail(MapItem m, CotEvent event, CotDetail detail)
CotDetailHandlertoCotDetail in class CotDetailHandlerm - Map item to readevent - Item's associated CoT eventdetail - The CoT event root detail (add to this)public static java.lang.String locationHash(GeoPoint gp)
gp - the geopointpublic CommsMapComponent.ImportResult toItemMetadata(MapItem item, CotEvent event, CotDetail detail)
CotDetailHandlertoItemMetadata in class CotDetailHandleritem - Map itemevent - Item's associated CoT eventdetail - The detail associated with this handler (read from this)CommsMapComponent.ImportResult.SUCCESS if handled successfully
 CommsMapComponent.ImportResult.FAILURE if handled but failed
 CommsMapComponent.ImportResult.IGNORE if not handled or N/A
 CommsMapComponent.ImportResult.DEFERRED if we should try again later