|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.translator.MapDataCollector
com.partnersoft.maps.translator.CollectByGraphicType
public class CollectByGraphicType
A MapDataCollector that sorts them by type for you. Does nothing by default so you can only operate on a single type if you like.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.maps.translator.MapDataCollector |
|---|
name, pipeline |
| Constructor Summary | |
|---|---|
CollectByGraphicType(java.lang.String name,
TranslationPipeline pipeline)
|
|
| Method Summary | |
|---|---|
void |
collect(MapDataGraphic graphic)
Implements the collect by sorting by graphic type and calling collectPoint, collectText, etc. |
protected void |
collectPoint(MapDataPoint point)
Does nothing by default; override for your own use. |
protected void |
collectPolygon(MapDataPolygon polygon)
Does nothing by default; override for your own use. |
protected void |
collectPolyline(MapDataPolyline polyline)
Does nothing by default; override for your own use. |
protected void |
collectText(MapDataText text)
Does nothing by default; override for your own use. |
| Methods inherited from class com.partnersoft.maps.translator.MapDataCollector |
|---|
close, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectByGraphicType(java.lang.String name,
TranslationPipeline pipeline)
| Method Detail |
|---|
public void collect(MapDataGraphic graphic)
collect in class MapDataCollectorprotected void collectPoint(MapDataPoint point)
protected void collectText(MapDataText text)
protected void collectPolyline(MapDataPolyline polyline)
protected void collectPolygon(MapDataPolygon polygon)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||