public class CotDetailManager
extends java.lang.Object
| Constructor and Description | 
|---|
CotDetailManager(MapView mapView)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addDetails(MapItem item,
          CotEvent event)
Create and add CoT details to a given event 
 | 
static CotDetailManager | 
getInstance()  | 
CommsMapComponent.ImportResult | 
processDetails(MapItem item,
              CotEvent event)
Given a map item and a cot event, process the cot event details into the appropriate
 tags within the map item 
 | 
void | 
registerHandler(CotDetailHandler handler)
Register a detail handler for the given detail element name. 
 | 
void | 
registerHandler(java.lang.String detailName,
               MarkerDetailHandler handler)
Register a marker-specific detail handler
 This is here for legacy compatibility - detail handlers should
 extend  
CotDetailHandler instead | 
void | 
unregisterHandler(CotDetailHandler handler)
Unregister a detail handler 
 | 
void | 
unregisterHandler(MarkerDetailHandler handler)
Unregister a marker-specific detail handler
 This is here for legacy compatibility - detail handlers should
 extend  
CotDetailHandler instead | 
public CotDetailManager(MapView mapView)
public static CotDetailManager getInstance()
public void registerHandler(CotDetailHandler handler)
handler - CoT detail handlerpublic void unregisterHandler(CotDetailHandler handler)
handler - CoT detail handlerpublic void registerHandler(java.lang.String detailName,
                            MarkerDetailHandler handler)
CotDetailHandler insteaddetailName - Detail name used to lookup the handlerhandler - Marker handlerpublic void unregisterHandler(MarkerDetailHandler handler)
CotDetailHandler insteadhandler - Marker handlerpublic boolean addDetails(MapItem item, CotEvent event)
item - The item to read fromevent - The CoT event to add topublic CommsMapComponent.ImportResult processDetails(MapItem item, CotEvent event)
item - the map item to fillevent - the cot event to use