001 // License: GPL. For details, see LICENSE file. 002 package org.openstreetmap.josm.tools.template_engine; 003 004 import java.util.Collection; 005 006 import org.openstreetmap.josm.actions.search.SearchCompiler.Match; 007 008 public interface TemplateEngineDataProvider { 009 Collection<String> getTemplateKeys(); 010 Object getTemplateValue(String name, boolean special); 011 boolean evaluateCondition(Match condition); 012 }