Package org.castor.cpa.query
Interface Parser
- All Known Implementing Classes:
AbstractParser
,CastorQLParserAdapter
,EjbQLParserAdapter
public interface Parser
Interface for parsers of OQL query strings.
- Since:
- 1.3
- Version:
- $Revision: 7121 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Udai Gupta, Ralf Joachim
-
Method Summary
Modifier and TypeMethodDescriptionParse the given OQL query string and return a tree of query objects that represent it.
-
Method Details
-
parse
Parse the given OQL query string and return a tree of query objects that represent it.- Parameters:
oql
- OQL query string passed to the parser generator.- Returns:
- Tree of query objects that represent the query.
- Throws:
UnsupportedEncodingException
- If encoding of the query string is not supported.ParseException
- If query is invalid.
-