Uses of Interface
org.openstreetmap.josm.tools.template_engine.TemplateEntry
-
Packages that use TemplateEntry Package Description org.openstreetmap.josm.gui.tagging.presets Provides classes for handling tagging presets.org.openstreetmap.josm.gui.tagging.presets.items Provides classes for handling tagging presets items.org.openstreetmap.josm.tools.template_engine Provides classes for a generic template engine used in presets, name rendering and search function. -
-
Uses of TemplateEntry in org.openstreetmap.josm.gui.tagging.presets
Fields in org.openstreetmap.josm.gui.tagging.presets declared as TemplateEntry Modifier and Type Field Description TemplateEntry
TaggingPreset. nameTemplate
The name_template custom name formatter. -
Uses of TemplateEntry in org.openstreetmap.josm.gui.tagging.presets.items
Fields in org.openstreetmap.josm.gui.tagging.presets.items declared as TemplateEntry Modifier and Type Field Description private TemplateEntry
Text. valueTemplate
-
Uses of TemplateEntry in org.openstreetmap.josm.tools.template_engine
Classes in org.openstreetmap.josm.tools.template_engine that implement TemplateEntry Modifier and Type Class Description class
CompoundTemplateEntry
TemplateEntry
that concatenates several templates.class
Condition
TemplateEntry
that applies other templates based on conditions.class
ContextSwitchTemplate
The context switch offers possibility to use tags of referenced primitive when constructing primitive name.class
SearchExpressionCondition
ConditionalTemplateEntry
that executes another template in case a search expression applies to the given data provider.class
StaticText
TemplateEntry
representing a static string.class
Variable
TemplateEntry
that inserts the value of a variable.Fields in org.openstreetmap.josm.tools.template_engine declared as TemplateEntry Modifier and Type Field Description private TemplateEntry[]
CompoundTemplateEntry. entries
private TemplateEntry
ContextSwitchTemplate. template
private TemplateEntry
SearchExpressionCondition. text
Fields in org.openstreetmap.josm.tools.template_engine with type parameters of type TemplateEntry Modifier and Type Field Description private List<TemplateEntry>
Condition. entries
Methods in org.openstreetmap.josm.tools.template_engine that return TemplateEntry Modifier and Type Method Description static TemplateEntry
CompoundTemplateEntry. fromArray(TemplateEntry... entries)
Factory method to concatenate severalTemplateEntry
s.TemplateEntry
TemplateParser. parse()
Parse the template.private TemplateEntry
TemplateParser. parseCondition()
private TemplateEntry
TemplateParser. parseContextSwitch()
private TemplateEntry
TemplateParser. parseExpression(Collection<Tokenizer.TokenType> endTokens)
private TemplateEntry
TemplateParser. parseVariable()
Methods in org.openstreetmap.josm.tools.template_engine with parameters of type TemplateEntry Modifier and Type Method Description static TemplateEntry
CompoundTemplateEntry. fromArray(TemplateEntry... entries)
Factory method to concatenate severalTemplateEntry
s.Constructors in org.openstreetmap.josm.tools.template_engine with parameters of type TemplateEntry Constructor Description CompoundTemplateEntry(TemplateEntry... entries)
ContextSwitchTemplate(SearchCompiler.Match match, TemplateEntry template, int searchExpressionPosition)
Constructs a newContextSwitchTemplate
.SearchExpressionCondition(SearchCompiler.Match condition, TemplateEntry text)
Creates a newSearchExpressionCondition
.Constructor parameters in org.openstreetmap.josm.tools.template_engine with type arguments of type TemplateEntry Constructor Description Condition(Collection<TemplateEntry> entries)
Constructs a newCondition
with predefined template entries.
-