public final class EjbQLParserAdapter extends AbstractParser
| Constructor and Description |
|---|
EjbQLParserAdapter() |
| Modifier and Type | Method and Description |
|---|---|
EjbQLParserTokenManager |
createTkmgr(String oql)
Creates the TokenManager instance.
|
SimpleNode |
getSimpleNode(String oql)
Gets the root SimpleNode instance of JJTREE.
|
QueryObject |
parse(String oql)
Parse the given OQL query string and return a tree of query objects that represent it.
|
public QueryObject parse(String oql) throws UnsupportedEncodingException, ParseException
oql - OQL query string passed to the parser generator.UnsupportedEncodingExceptionParseExceptionParseException - If query is invalid.public SimpleNode getSimpleNode(String oql) throws UnsupportedEncodingException, ParseException
oql - the query stringUnsupportedEncodingException - the unsupported encoding exceptionParseException - the QL parse exceptionParseExceptionpublic EjbQLParserTokenManager createTkmgr(String oql) throws UnsupportedEncodingException
oql - the query stringUnsupportedEncodingException - the unsupported encoding exceptionCopyright © 2014. All rights reserved.