com.partnersoft.maps.translator
Class MapDataStylist

java.lang.Object
  extended by com.partnersoft.maps.translator.MapDataCollector
      extended by com.partnersoft.maps.translator.MapDataFilter
          extended by com.partnersoft.maps.translator.FilterByGraphicType
              extended by com.partnersoft.maps.translator.MapDataStylist

public class MapDataStylist
extends FilterByGraphicType

Sets the graphicType name for graphics.

Author:
Paul Reavis Copyright 2003-2005 Partner Software, Inc.

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
MapDataStylist(java.lang.String name, TranslationPipeline pipeline)
           
 
Method Summary
 void close()
          Optional; closes collector.
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.FilterByGraphicType
collect, collectList
 
Methods inherited from class com.partnersoft.maps.translator.MapDataFilter
discard, flush, getNextCollector, pass, setNextCollector
 
Methods inherited from class com.partnersoft.maps.translator.MapDataCollector
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDataStylist

public MapDataStylist(java.lang.String name,
                      TranslationPipeline pipeline)
Method Detail

collectPoint

protected void collectPoint(MapDataPoint point)
                     throws java.io.IOException
Description copied from class: FilterByGraphicType
Does nothing by default; override for your own use.

Overrides:
collectPoint in class FilterByGraphicType
Throws:
java.io.IOException

collectPointColor

protected void collectPointColor(MapDataPointColor point)
                          throws java.io.IOException
Description copied from class: FilterByGraphicType
Does nothing by default; override for your own use.

Overrides:
collectPointColor in class FilterByGraphicType
Throws:
java.io.IOException

collectText

protected void collectText(MapDataText text)
                    throws java.io.IOException
Description copied from class: FilterByGraphicType
Does nothing by default; override for your own use.

Overrides:
collectText in class FilterByGraphicType
Throws:
java.io.IOException

collectPolyline

protected void collectPolyline(MapDataPolyline polyline)
                        throws java.io.IOException
Description copied from class: FilterByGraphicType
Does nothing by default; override for your own use.

Overrides:
collectPolyline in class FilterByGraphicType
Throws:
java.io.IOException

collectPolygon

protected void collectPolygon(MapDataPolygon polygon)
                       throws java.io.IOException
Description copied from class: FilterByGraphicType
Does nothing by default; override for your own use.

Overrides:
collectPolygon in class FilterByGraphicType
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from class: MapDataCollector
Optional; closes collector.

Overrides:
close in class MapDataCollector
Throws:
java.io.IOException