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

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

private static class SearchCompiler.Id
extends SearchCompiler.Match

Matches objects with the given object ID.


Field Summary
private  long id
           
 
Constructor Summary
SearchCompiler.Id(long id)
           
SearchCompiler.Id(PushbackTokenizer tokenizer)
           
 
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

id

private long id
Constructor Detail

SearchCompiler.Id

public SearchCompiler.Id(long id)

SearchCompiler.Id

public SearchCompiler.Id(PushbackTokenizer tokenizer)
                  throws SearchCompiler.ParseError
Throws:
SearchCompiler.ParseError
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