Parserpublic final class EjbQLParserAdapter extends AbstractParser
| Constructor | Description |
|---|---|
EjbQLParserAdapter() |
| Modifier and Type | Method | Description |
|---|---|---|
EjbQLParserTokenManager |
createTkmgr(java.lang.String oql) |
Creates the TokenManager instance.
|
SimpleNode |
getSimpleNode(java.lang.String oql) |
Gets the root SimpleNode instance of JJTREE.
|
QueryObject |
parse(java.lang.String oql) |
Parse the given OQL query string and return a tree of query objects that represent it.
|
public QueryObject parse(java.lang.String oql) throws java.io.UnsupportedEncodingException, ParseException
oql - OQL query string passed to the parser generator.java.io.UnsupportedEncodingExceptionParseExceptionpublic SimpleNode getSimpleNode(java.lang.String oql)
throws java.io.UnsupportedEncodingException,
ParseException
oql - the query stringjava.io.UnsupportedEncodingException - the unsupported encoding exceptionParseException - the QL parse exceptionpublic EjbQLParserTokenManager createTkmgr(java.lang.String oql)
throws java.io.UnsupportedEncodingException
oql - the query stringjava.io.UnsupportedEncodingException - the unsupported encoding exceptionIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com