Package ch.poole.osm.josmtemplateparser
Interface Formatter
-
- All Known Implementing Classes:
Conditional,Literal,Search,Special,Tag
public interface Formatter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.Stringformat(@NotNull ch.poole.osm.josmfilterparser.Type type, @Nullable ch.poole.osm.josmfilterparser.Meta meta, @Nullable java.util.Map<java.lang.String,java.lang.String> tags)Format a concrete OSM element
-
-
-
Method Detail
-
format
@NotNull @NotNull java.lang.String format(@NotNull @NotNull ch.poole.osm.josmfilterparser.Type type, @Nullable @Nullable ch.poole.osm.josmfilterparser.Meta meta, @Nullable @Nullable java.util.Map<java.lang.String,java.lang.String> tags)Format a concrete OSM element- Parameters:
type- the Type of the OSM elementmeta- meta information for the OSM element or nulltags- tags of the OSM element or null- Returns:
- the formated "name"
-
-