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

Quick Search    Search Deep

com.aendvari.common.model
Class ModelQueryPath.Parser  view ModelQueryPath.Parser download ModelQueryPath.Parser.java

java.lang.Object
  extended bycom.aendvari.common.model.ModelQueryPath.Parser
Enclosing class:
ModelQueryPath

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

Parses a query expressions.


Nested Class Summary
static interface ModelQueryPath.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) ModelQueryPath.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

ModelQueryPath.Parser

ModelQueryPath.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.