public final class Lexer
extends java.lang.Object
Token
s.Constructor | Description |
---|---|
Lexer(java.lang.String oqlQueryString) |
Creates a lexer which will seperate a string query into a series of
tokens.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasMoreTokens() |
Checks whether the query strin has been fully consumed.
|
Token |
nextToken() |
Returns the next
Token from the stream. |
public Lexer(java.lang.String oqlQueryString)
oqlQueryString
- The string representation of the OQL Querypublic boolean hasMoreTokens()
public Token nextToken() throws InvalidCharException
Token
from the stream.InvalidCharException
- if an invalid character is found while
generating the next Token.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com