FileDocCategorySizeDatePackage
EJBQLParserFactory.javaAPI DocGlassfish v2 API3453Tue May 22 16:54:40 BST 2007oracle.toplink.essentials.internal.parsing.ejbql

EJBQLParserFactory

public class EJBQLParserFactory extends Object

Fields Summary
Constructors Summary
public EJBQLParserFactory()

Methods Summary
public oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParserbuildParserFor(java.lang.String ejbqlString)

    return EJBQLParser.buildParserFor(ejbqlString);
  
public oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParserparseEJBQLString(java.lang.String ejbqlString)

    EJBQLParser parser = buildParserFor(ejbqlString);
    parser.parse();
    return parser;
  
public voidpopulateQuery(java.lang.String ejbqlString, oracle.toplink.essentials.queryframework.ObjectLevelReadQuery theQuery, oracle.toplink.essentials.internal.sessions.AbstractSession session)
Populate the query using the information retrieved from parsing the EJBQL.

    EJBQLParser parser = parseEJBQLString(ejbqlString);
    EJBQLParseTree parseTree = parser.getParseTree();
    parseTree.populateQuery(theQuery, session);