|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.adapter.IeWhereParser
This class parses an Info*Engine where clause into a vector of IeSearch conditions. Each search condition has the elements of "attribute", "operator", and "value".
Field Summary | |
private int |
nestedLevel
|
private static String |
RESOURCE
|
private Vector |
searchConditions
Vector of parsed where conditions |
private static boolean |
VERBOSE
|
private static String |
versionID
|
private int |
whereCursor
Current index into where clause tokens |
private Vector |
whereTokens
Parsed tokens from the where clause. |
Constructor Summary | |
IeWhereParser()
|
Method Summary | |
private Object |
buildSearchConditions()
Scan where clause tokens and collect individual search conditions. |
void |
IeWhereParser()
Constructor. |
static void |
main(String[] args)
Main method for testing. |
Vector |
parseWhere(String whereClause)
Translates a string IE where filter to a vector of search conditions. |
private IeCondition |
translateTerm()
Translate a term of an Info*Engine where clause into a vector of "attribute", "operator", and "value" search filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String versionID
private static final String RESOURCE
private int whereCursor
private int nestedLevel
private Vector whereTokens
private Vector searchConditions
private static boolean VERBOSE
Constructor Detail |
public IeWhereParser()
Method Detail |
public void IeWhereParser()
public Vector parseWhere(String whereClause) throws WebjectServiceException
whereClause
- A string Info*Engine where clause.
WebjectServiceException
private Object buildSearchConditions()
private IeCondition translateTerm()
public static void main(String[] args)
args
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |