public class VehicleModelDetailHandler extends CotDetailHandler
| Constructor and Description |
|---|
VehicleModelDetailHandler(MapGroup vehicleGroup) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
toCotDetail(MapItem mi,
CotEvent evt,
CotDetail root)
Convert map item metadata to a CoT detail
|
CommsMapComponent.ImportResult |
toItemMetadata(MapItem mi,
CotEvent evt,
CotDetail d)
Convert CoT event detail to map item metadata
|
getDetailNames, getMapItem, getPoint, isSupported, parseDouble, parseIntpublic VehicleModelDetailHandler(MapGroup vehicleGroup)
public CommsMapComponent.ImportResult toItemMetadata(MapItem mi, CotEvent evt, CotDetail d)
CotDetailHandlertoItemMetadata in class CotDetailHandlermi - Map itemevt - Item's associated CoT eventd - 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 laterpublic boolean toCotDetail(MapItem mi, CotEvent evt, CotDetail root)
CotDetailHandlertoCotDetail in class CotDetailHandlermi - Map item to readevt - Item's associated CoT eventroot - The CoT event root detail (add to this)