org.apache.openjpa.kernel.jpql
Class JPQLExpressionBuilder.JPQLNode
java.lang.Object
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.JPQLNode
- All Implemented Interfaces:
- java.io.Serializable, org.apache.openjpa.kernel.jpql.Node
- Direct Known Subclasses:
- SimpleNode
- Enclosing class:
- JPQLExpressionBuilder
protected abstract static class JPQLExpressionBuilder.JPQLNode
- extends java.lang.Object
- implements org.apache.openjpa.kernel.jpql.Node, java.io.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JPQLExpressionBuilder.JPQLNode
public JPQLExpressionBuilder.JPQLNode(org.apache.openjpa.kernel.jpql.JPQL parser,
int id)
jjtOpen
public void jjtOpen()
- Specified by:
jjtOpen
in interface org.apache.openjpa.kernel.jpql.Node
jjtClose
public void jjtClose()
- Specified by:
jjtClose
in interface org.apache.openjpa.kernel.jpql.Node
jjtSetParent
public void jjtSetParent(org.apache.openjpa.kernel.jpql.Node parent)
- Specified by:
jjtSetParent
in interface org.apache.openjpa.kernel.jpql.Node
jjtGetParent
public org.apache.openjpa.kernel.jpql.Node jjtGetParent()
- Specified by:
jjtGetParent
in interface org.apache.openjpa.kernel.jpql.Node
jjtAddChild
public void jjtAddChild(org.apache.openjpa.kernel.jpql.Node n,
int i)
- Specified by:
jjtAddChild
in interface org.apache.openjpa.kernel.jpql.Node
jjtGetChild
public org.apache.openjpa.kernel.jpql.Node jjtGetChild(int i)
- Specified by:
jjtGetChild
in interface org.apache.openjpa.kernel.jpql.Node
getChildCount
public int getChildCount()
getChild
public JPQLExpressionBuilder.JPQLNode getChild(int index)
iterator
public java.util.Iterator iterator()
jjtGetNumChildren
public int jjtGetNumChildren()
- Specified by:
jjtGetNumChildren
in interface org.apache.openjpa.kernel.jpql.Node
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(java.lang.String prefix)
dump
public void dump(java.lang.String prefix)
- Debugging method.
- See Also:
dump(java.io.PrintStream,String)
dump
public void dump()
dump
public void dump(java.io.PrintStream out,
java.lang.String prefix)
- 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
public void dump(java.io.PrintStream out,
java.lang.String prefix,
boolean text)