uk.me.parabola.mkgmap.filters
Class BaseFilter

java.lang.Object
  extended by uk.me.parabola.mkgmap.filters.BaseFilter
All Implemented Interfaces:
MapFilter
Direct Known Subclasses:
PolygonSplitterBase

public class BaseFilter
extends java.lang.Object
implements MapFilter

A base filter to use that has empty implementations of methods that are not always used.

Author:
Steve Ratcliffe

Constructor Summary
BaseFilter()
           
 
Method Summary
 void doFilter(MapElement element, MapFilterChain next)
          Empty implementation.
 void init(FilterConfig config)
          Empty implementation of the init function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFilter

public BaseFilter()
Method Detail

init

public void init(FilterConfig config)
Empty implementation of the init function.

Specified by:
init in interface MapFilter
Parameters:
config - Configuration information, giving parameters of the map level that is being produced through this filter.

doFilter

public void doFilter(MapElement element,
                     MapFilterChain next)
Empty implementation.

Specified by:
doFilter in interface MapFilter
Parameters:
element - A map element.
next - This is used to pass the possibly transformed element onward.