com.sun.jdo.spi.persistence.support.ejb.ejbqlc
Class EJBQLASTFactory

java.lang.Object
  extended by antlr.ASTFactory
      extended by com.sun.jdo.spi.persistence.support.ejb.ejbqlc.EJBQLASTFactory

public class EJBQLASTFactory
extends antlr.ASTFactory

Factory to create and connect EJBQLAST nodes.

Author:
Michael Bouschen

Field Summary
 
Fields inherited from class antlr.ASTFactory
theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap
 
Constructor Summary
protected EJBQLASTFactory()
          Constructor.
 
Method Summary
 antlr.collections.AST create()
          Overwrites superclass method to create the correct AST instance.
 antlr.collections.AST create(antlr.collections.AST tr)
          Overwrites superclass method to create the correct AST instance.
 EJBQLAST create(EJBQLAST tr)
          Creates a clone of the specified EJBQLAST instance.
static EJBQLASTFactory getInstance()
          Get an instance of EJBQLASTFactory.
 
Methods inherited from class antlr.ASTFactory
addASTChild, create, create, create, create, create, create, create, createUsingCtor, dup, dupList, dupTree, error, getASTNodeType, getTokenTypeToASTClassMap, make, make, makeASTRoot, setASTNodeClass, setASTNodeClass, setASTNodeType, setTokenTypeASTNodeType, setTokenTypeToASTClassMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBQLASTFactory

protected EJBQLASTFactory()
Constructor. EJBQLASTFactory is a singleton, please use getInstance() to get the factory instance.

Method Detail

getInstance

public static EJBQLASTFactory getInstance()
Get an instance of EJBQLASTFactory.

Returns:
an instance of EJBQLASTFactory

create

public antlr.collections.AST create()
Overwrites superclass method to create the correct AST instance.

Overrides:
create in class antlr.ASTFactory

create

public antlr.collections.AST create(antlr.collections.AST tr)
Overwrites superclass method to create the correct AST instance.

Overrides:
create in class antlr.ASTFactory

create

public EJBQLAST create(EJBQLAST tr)
Creates a clone of the specified EJBQLAST instance.



Copyright © 2012 GlassFish Community. All Rights Reserved.