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

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.ChildSet
Enclosing class:
ContextSwitchTemplate

private class ContextSwitchTemplate.ChildSet
extends ContextSwitchTemplate.ContextProvider


Field Summary
private  SearchCompiler.Match parentCondition
           
 
Fields inherited from class org.openstreetmap.josm.tools.template_engine.ContextSwitchTemplate.ContextProvider
condition
 
Constructor Summary
ContextSwitchTemplate.ChildSet(SearchCompiler.Match parentCondition)
           
 
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

parentCondition

private final SearchCompiler.Match parentCondition
Constructor Detail

ContextSwitchTemplate.ChildSet

ContextSwitchTemplate.ChildSet(SearchCompiler.Match parentCondition)
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