org.openstreetmap.josm.actions.search
Class SearchCompiler.RoleMatch

java.lang.Object
  extended by org.openstreetmap.josm.actions.search.SearchCompiler.Match
      extended by org.openstreetmap.josm.actions.search.SearchCompiler.RoleMatch
Enclosing class:
SearchCompiler

private static class SearchCompiler.RoleMatch
extends SearchCompiler.Match

Matches objects with the given relation role (i.e. "outer").


Field Summary
private  java.lang.String role
           
 
Constructor Summary
SearchCompiler.RoleMatch(java.lang.String role)
           
 
Method Summary
 boolean match(OsmPrimitive osm)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

role

private java.lang.String role
Constructor Detail

SearchCompiler.RoleMatch

public SearchCompiler.RoleMatch(java.lang.String role)
Method Detail

match

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


JOSM