public abstract class OneElementTypeHandler<T> extends java.lang.Object implements MapDataHandler
| Constructor and Description |
|---|
OneElementTypeHandler(java.lang.Class<T> tClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(de.westnordost.osmapi.map.data.BoundingBox bounds) |
void |
handle(Node node) |
void |
handle(Relation relation) |
void |
handle(Way way) |
protected abstract void |
handleElement(T element) |
public OneElementTypeHandler(java.lang.Class<T> tClass)
public void handle(de.westnordost.osmapi.map.data.BoundingBox bounds)
handle in interface MapDataHandlerpublic void handle(Node node)
handle in interface MapDataHandlerpublic void handle(Way way)
handle in interface MapDataHandlerpublic void handle(Relation relation)
handle in interface MapDataHandlerprotected abstract void handleElement(T element)