public class UIDHandler extends java.lang.Object implements MarkerDetailHandler
Modifier and Type | Class and Description |
---|---|
static interface |
UIDHandler.AttributeInjector
Used to inject Attributes into the UIDHandler for third party
plugins.
|
Constructor and Description |
---|
UIDHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeInjector(UIDHandler.AttributeInjector ai)
Provided a custom Attribute Injector to the UID tag
|
static UIDHandler |
getInstance()
Retrieve an instance of the UIDHandler so that one can augment
the behavior by adding attribute injectors.
|
void |
removeAttributeInjector(UIDHandler.AttributeInjector ai)
Remove a custom Attribute Injector to the UID tag
|
void |
toCotDetail(Marker marker,
CotDetail detail)
Given a marker and an CotDetail (usually empty), fill the detail as
appropriate from entries in the Marker Detail.
|
void |
toMarkerMetadata(Marker marker,
CotEvent event,
CotDetail detail)
Given a CotEvent and CotDetails create the appropriate entries in a
Marker.
|
public static UIDHandler getInstance()
public void addAttributeInjector(UIDHandler.AttributeInjector ai)
public void removeAttributeInjector(UIDHandler.AttributeInjector ai)
public void toCotDetail(Marker marker, CotDetail detail)
MarkerDetailHandler
toCotDetail
in interface MarkerDetailHandler
public void toMarkerMetadata(Marker marker, CotEvent event, CotDetail detail)
MarkerDetailHandler
toMarkerMetadata
in interface MarkerDetailHandler