|
Project: stp | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectcom.ibm.rational.stp.client.samples.QueryUtilities.Tokenizer
private static class QueryUtilities.Tokenizer
Tokenizes a stream containing a filtering expression from the command line
| Field Summary | |
|---|---|
private String |
m_stream
The remainder of the character stream from which tokens are fetched |
private String |
m_text
The original input stream |
| Constructor Summary | |
|---|---|
QueryUtilities.Tokenizer(String stream)
Creates a new FilterTokenizer object based on a given stream. |
|
| Method Summary | ||
|---|---|---|
(package private) QueryUtilities.FilterSym |
next()
Fetches the next token in the stream, without verification, and returns its FilterSym structure; |
|
(package private) QueryUtilities.FilterSym |
next(EnumSet<QueryUtilities.Kind> mask)
Fetches the next token in the stream, verifies that its kind satisfies the mask parameter and finally, returns its FilterSym structure; |
|
(package private)
|
next(EnumSet<QueryUtilities.Kind> mask,
Object match)
Fetches the next token in the stream, verifies that its kind satisfies the mask parameter; and, if specified, verifies that its code matches the match parameter, and finally, returns its FilterSym structure; |
|
(package private) QueryUtilities.FilterSym<CqQuery.Filter.Operation> |
nextOperation()
|
|
(package private) QueryUtilities.FilterSym<CqQuery.FilterLeaf.TargetType> |
nextTarget()
|
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String m_stream
private String m_text
| Constructor Detail |
|---|
QueryUtilities.Tokenizer(String stream)
stream - The String to be tokenized| Method Detail |
|---|
<T> QueryUtilities.FilterSym<T> next(EnumSet<QueryUtilities.Kind> mask,
Object match)
mask - A bit mask specifying the type(s) of token that are
acceptable return values.match - A specific FilterSym.code value that the token is
required to match; may be null if no specific code match
is required.
QueryUtilities.FilterSym next(EnumSet<QueryUtilities.Kind> mask)
mask - A bit mask specifying the type(s) of token that are
acceptable return values.
QueryUtilities.FilterSym<CqQuery.FilterLeaf.TargetType> nextTarget()
QueryUtilities.FilterSym<CqQuery.Filter.Operation> nextOperation()
QueryUtilities.FilterSym next()
|
Generated Fri 3-Nov-2017 12:50 AM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||