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

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

private static class SearchCompiler.AreaSize
extends SearchCompiler.CountRange

Matches if the size of the area is within the given range


Constructor Summary
SearchCompiler.AreaSize(PushbackTokenizer.Range range)
           
SearchCompiler.AreaSize(PushbackTokenizer tokenizer)
           
 
Method Summary
protected  java.lang.Long getCount(OsmPrimitive osm)
           
protected  java.lang.String getCountString()
           
 
Methods inherited from class org.openstreetmap.josm.actions.search.SearchCompiler.CountRange
match, 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
 

Constructor Detail

SearchCompiler.AreaSize

public SearchCompiler.AreaSize(PushbackTokenizer.Range range)

SearchCompiler.AreaSize

public SearchCompiler.AreaSize(PushbackTokenizer tokenizer)
                        throws SearchCompiler.ParseError
Throws:
SearchCompiler.ParseError
Method Detail

getCount

protected java.lang.Long getCount(OsmPrimitive osm)
Specified by:
getCount in class SearchCompiler.CountRange

getCountString

protected java.lang.String getCountString()
Specified by:
getCountString in class SearchCompiler.CountRange


JOSM