org.exolab.castor.jdo.oql
Class Lexer
java.lang.Object
org.exolab.castor.jdo.oql.Lexer
public final class Lexer
extends java.lang.Object
Seperates an input string of OQL into a stream of
Token
s.
$Revision: 7115 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $Lexer(String oqlQueryString) - Creates a lexer which will seperate a string query into a series of
tokens.
|
Lexer
public Lexer(String oqlQueryString)
Creates a lexer which will seperate a string query into a series of
tokens.
oqlQueryString
- The string representation of the OQL Query
hasMoreTokens
public boolean hasMoreTokens()
Checks whether the query strin has been fully consumed.
- True if there is text in the query which hasn't been tokenized,
otherwise false.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com