Class JPQLExpressionBuilder.JPQLNode
java.lang.Object
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.JPQLNode
- All Implemented Interfaces:
Serializable, org.apache.openjpa.kernel.jpql.Node
- Direct Known Subclasses:
SimpleNode
- Enclosing class:
JPQLExpressionBuilder
protected abstract static class JPQLExpressionBuilder.JPQLNode
extends Object
implements org.apache.openjpa.kernel.jpql.Node, Serializable
Base node that will be generated by the JPQLExpressionBuilder; base
class of the
SimpleNode that is used by JPQL.- Author:
- Marc Prud'hommeaux
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump()voiddump(PrintStream out, String prefix) Debugging method to output a parse tree.voiddump(PrintStream out, String prefix, boolean text) voidDebugging method.getChild(int index) intiterator()voidjjtAddChild(org.apache.openjpa.kernel.jpql.Node n, int i) voidjjtClose()org.apache.openjpa.kernel.jpql.NodejjtGetChild(int i) intorg.apache.openjpa.kernel.jpql.NodevoidjjtOpen()voidjjtSetParent(org.apache.openjpa.kernel.jpql.Node parent) toString()
-
Constructor Details
-
JPQLNode
public JPQLNode(org.apache.openjpa.kernel.jpql.JPQL parser, int id)
-
-
Method Details
-
jjtOpen
public void jjtOpen()- Specified by:
jjtOpenin interfaceorg.apache.openjpa.kernel.jpql.Node
-
jjtClose
public void jjtClose()- Specified by:
jjtClosein interfaceorg.apache.openjpa.kernel.jpql.Node
-
jjtSetParent
public void jjtSetParent(org.apache.openjpa.kernel.jpql.Node parent) - Specified by:
jjtSetParentin interfaceorg.apache.openjpa.kernel.jpql.Node
-
jjtGetParent
public org.apache.openjpa.kernel.jpql.Node jjtGetParent()- Specified by:
jjtGetParentin interfaceorg.apache.openjpa.kernel.jpql.Node
-
jjtAddChild
public void jjtAddChild(org.apache.openjpa.kernel.jpql.Node n, int i) - Specified by:
jjtAddChildin interfaceorg.apache.openjpa.kernel.jpql.Node
-
jjtGetChild
public org.apache.openjpa.kernel.jpql.Node jjtGetChild(int i) - Specified by:
jjtGetChildin interfaceorg.apache.openjpa.kernel.jpql.Node
-
getChildCount
public int getChildCount() -
getChild
-
iterator
-
jjtGetNumChildren
public int jjtGetNumChildren()- Specified by:
jjtGetNumChildrenin interfaceorg.apache.openjpa.kernel.jpql.Node
-
toString
-
toString
-
dump
-
dump
public void dump() -
dump
Debugging method to output a parse tree.- Parameters:
out- the stream to which to write the debugging infoprefix- the prefix to write out before lines
-
dump
-