org.apache.cayenne.ejbql.parser
Class EJBQL.EJBQLDefaultParser

java.lang.Object
  extended by org.apache.cayenne.ejbql.parser.EJBQL.EJBQLDefaultParser
All Implemented Interfaces:
EJBQLParser
Enclosing class:
EJBQL

public static class EJBQL.EJBQLDefaultParser
extends Object
implements EJBQLParser


Constructor Summary
EJBQL.EJBQLDefaultParser()
           
 
Method Summary
 EJBQLCompiledExpression compile(String ejbqlStatement, EntityResolver resolver)
          Parses and compiles an expression for the EntityResolver.
 EJBQLExpression parse(String ejbqlStatement)
          Parses a string EJB QL into an EJBQLExpression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBQL.EJBQLDefaultParser

public EJBQL.EJBQLDefaultParser()
Method Detail

parse

public EJBQLExpression parse(String ejbqlStatement)
                      throws EJBQLException
Description copied from interface: EJBQLParser
Parses a string EJB QL into an EJBQLExpression.

Specified by:
parse in interface EJBQLParser
Throws:
EJBQLException

compile

public EJBQLCompiledExpression compile(String ejbqlStatement,
                                       EntityResolver resolver)
                                throws EJBQLException
Description copied from interface: EJBQLParser
Parses and compiles an expression for the EntityResolver.

Specified by:
compile in interface EJBQLParser
Throws:
EJBQLException


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.