|
|||||||||
| 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.MapDataFilter
com.partnersoft.maps.translator.FilterByGraphicType
public class FilterByGraphicType
A MapDataFilter 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.MapDataFilter |
|---|
nextCollector |
| Fields inherited from class com.partnersoft.maps.translator.MapDataCollector |
|---|
name, pipeline |
| Constructor Summary | |
|---|---|
FilterByGraphicType(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 |
collectList(MapDataGraphicList list)
Does nothing by default; override for your own use. |
protected void |
collectPoint(MapDataPoint point)
Does nothing by default; override for your own use. |
protected void |
collectPointColor(MapDataPointColor 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.MapDataFilter |
|---|
discard, flush, getNextCollector, pass, setNextCollector |
| 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 FilterByGraphicType(java.lang.String name,
TranslationPipeline pipeline)
| Method Detail |
|---|
public void collect(MapDataGraphic graphic)
throws java.io.IOException
collect in class MapDataFilterjava.io.IOException
protected void collectPoint(MapDataPoint point)
throws java.io.IOException
java.io.IOException
protected void collectPointColor(MapDataPointColor point)
throws java.io.IOException
java.io.IOException
protected void collectText(MapDataText text)
throws java.io.IOException
java.io.IOException
protected void collectPolyline(MapDataPolyline polyline)
throws java.io.IOException
java.io.IOException
protected void collectPolygon(MapDataPolygon polygon)
throws java.io.IOException
java.io.IOException
protected void collectList(MapDataGraphicList list)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||