org.openstreetmap.josm.tools.template_engine
Class ContextSwitchTemplate.ParentSet

java.lang.Object
  extended by org.openstreetmap.josm.actions.search.SearchCompiler.Match
      extended by org.openstreetmap.josm.tools.template_engine.ContextSwitchTemplate.ContextProvider
          extended by org.openstreetmap.josm.tools.template_engine.ContextSwitchTemplate.ParentSet
Enclosing class:
ContextSwitchTemplate

private class ContextSwitchTemplate.ParentSet
extends ContextSwitchTemplate.ContextProvider


Field Summary
private  SearchCompiler.Match childCondition
           
 
Fields inherited from class org.openstreetmap.josm.tools.template_engine.ContextSwitchTemplate.ContextProvider
condition
 
Constructor Summary
ContextSwitchTemplate.ParentSet(SearchCompiler.Match child)
           
 
Method Summary
(package private)  java.util.List<OsmPrimitive> getPrimitives(OsmPrimitive root)
           
 boolean match(OsmPrimitive osm)
           
 
Methods inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.Match
existsMatch, forallMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childCondition

private final SearchCompiler.Match childCondition
Constructor Detail

ContextSwitchTemplate.ParentSet

ContextSwitchTemplate.ParentSet(SearchCompiler.Match child)
Method Detail

match

public boolean match(OsmPrimitive osm)
Specified by:
match in class SearchCompiler.Match

getPrimitives

java.util.List<OsmPrimitive> getPrimitives(OsmPrimitive root)
Specified by:
getPrimitives in class ContextSwitchTemplate.ContextProvider


JOSM