uk.me.parabola.mkgmap.reader.osm
Interface Rule

All Known Implementing Classes:
ActionRule, ExpressionRule, RuleSet

public interface Rule

A rule takes an element and returns the correct garmin type for it. Implementations can be simple or complex as needed.

Author:
Steve Ratcliffe

Method Summary
 void resolveType(Element el, TypeResult result)
          Given the element return the garmin type that should be used to represent it.
 

Method Detail

resolveType

void resolveType(Element el,
                 TypeResult result)
Given the element return the garmin type that should be used to represent it.

Parameters:
el - The element as read from an OSM xml file in 'tag' format.
result - The resolved Garmin type that will go into the map.