Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.common.osm
Class QueryOsmPath.Parser  view QueryOsmPath.Parser download QueryOsmPath.Parser.java

java.lang.Object
  extended bycom.aendvari.common.osm.QueryOsmPath.Parser
Enclosing class:
QueryOsmPath

protected static class QueryOsmPath.Parser
extends java.lang.Object

Parses a query expressions.


Nested Class Summary
static interface QueryOsmPath.Parser.Operators
          Constants for operator tokens.
 
Field Summary
protected  java.lang.String expression
          The string to parse.
protected  int position
          The current position in the string.
 
Constructor Summary
(package private) QueryOsmPath.Parser(java.lang.String setExpression)
          Creates a Tokenizer to parse the supplied string.
 
Method Summary
(package private)  char getOperatorToken()
          Returns the next available operator.
(package private)  java.lang.String getStringToken()
          Returns the next available string.
(package private)  boolean hasMoreTokens()
          Returns true if more tokens are available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected int position
The current position in the string.


expression

protected java.lang.String expression
The string to parse.

Constructor Detail

QueryOsmPath.Parser

QueryOsmPath.Parser(java.lang.String setExpression)
Creates a Tokenizer to parse the supplied string.

Method Detail

hasMoreTokens

boolean hasMoreTokens()
Returns true if more tokens are available.


getStringToken

java.lang.String getStringToken()
Returns the next available string.


getOperatorToken

char getOperatorToken()
Returns the next available operator.