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
 QueryObject parse(String oql)
          Parse the given OQL query string and return a tree of query objects that represent it.
 

Method Detail

parse

QueryObject parse(String oql)
                  throws UnsupportedEncodingException,
                         ParseException
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.


Copyright © 2011. All Rights Reserved.