|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.jdo.oql.Lexer
public final class Lexer
Seperates an input string of OQL into a stream of Tokens.
| Constructor Summary | |
|---|---|
Lexer(String oqlQueryString)
Creates a lexer which will seperate a string query into a series of tokens. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreTokens()
Checks whether the query strin has been fully consumed. |
Token |
nextToken()
Returns the next Token from the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Lexer(String oqlQueryString)
oqlQueryString - The string representation of the OQL Query| Method Detail |
|---|
public boolean hasMoreTokens()
public Token nextToken()
throws InvalidCharException
Token from the stream.
InvalidCharException - if an invalid character is found while
generating the next Token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||