org.apache.openjpa.kernel.jpql
Class JPQLExpressionBuilder.JPQLNode

java.lang.Object
  extended by org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.JPQLNode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SimpleNode
Enclosing class:
JPQLExpressionBuilder

protected abstract static class JPQLExpressionBuilder.JPQLNode
extends Object
implements Serializable

Base node that will be generated by the JPQLExpressionBuilder; base class of the SimpleNode that is used by JPQLExpressionBuilder.ParsedJPQL.

Author:
Marc Prud'hommeaux
See Also:
JPQLExpressionBuilder.JPQLNode, SimpleNode, Serialized Form

Constructor Summary
JPQLExpressionBuilder.JPQLNode(JPQL parser, int id)
           
 
Method Summary
 void dump()
           
 void dump(PrintStream out, String prefix)
          Debugging method to output a parse tree.
 void dump(PrintStream out, String prefix, boolean text)
           
 void dump(String prefix)
          Debugging method.
 JPQLExpressionBuilder.JPQLNode getChild(int index)
           
 int getChildCount()
           
 Iterator iterator()
           
 void jjtAddChild(Node n, int i)
           
 void jjtClose()
           
 Node jjtGetChild(int i)
           
 int jjtGetNumChildren()
           
 Node jjtGetParent()
           
 void jjtOpen()
           
 void jjtSetParent(Node parent)
           
 String toString()
           
 String toString(String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JPQLExpressionBuilder.JPQLNode

public JPQLExpressionBuilder.JPQLNode(JPQL parser,
                                      int id)
Method Detail

jjtOpen

public void jjtOpen()

jjtClose

public void jjtClose()

jjtSetParent

public void jjtSetParent(Node parent)

jjtGetParent

public Node jjtGetParent()

jjtAddChild

public void jjtAddChild(Node n,
                        int i)

jjtGetChild

public Node jjtGetChild(int i)

getChildCount

public int getChildCount()

getChild

public JPQLExpressionBuilder.JPQLNode getChild(int index)

iterator

public Iterator iterator()

jjtGetNumChildren

public int jjtGetNumChildren()

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(String prefix)

dump

public void dump(String prefix)
Debugging method.

See Also:
dump(java.io.PrintStream,String)

dump

public void dump()

dump

public void dump(PrintStream out,
                 String prefix)
Debugging method to output a parse tree.

Parameters:
out - the stream to which to write the debugging info
prefix - the prefix to write out before lines

dump

public void dump(PrintStream out,
                 String prefix,
                 boolean text)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.