com.hp.hpl.jena.sparql.lang.rdql
Class SimpleNode

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lang.rdql.SimpleNode
All Implemented Interfaces:
RDQL_Node
Direct Known Subclasses:
ParsedLiteral, Q_Add, Q_ArgList, Q_BitAnd, Q_BitOr, Q_BitXor, Q_ConstraintClause, Q_Divide, Q_Equal, Q_FunctionCall, Q_GreaterThan, Q_GreaterThanOrEqual, Q_Identifier, Q_LeftShift, Q_LessThan, Q_LessThanOrEqual, Q_LogicalAnd, Q_LogicalOr, Q_Modulus, Q_Multiply, Q_NotEqual, Q_NullLiteral, Q_PatternLiteral, Q_PrefixDecl, Q_PrefixesClause, Q_Query, Q_RightSignedShift, Q_RightUnsignedShift, Q_SelectClause, Q_SourceClause, Q_SourceSelector, Q_String, Q_StringEqual, Q_StringLangEqual, Q_StringMatch, Q_StringNoMatch, Q_Subtract, Q_TriplePattern, Q_TriplePatternClause, Q_UnaryMinus, Q_UnaryNot, Q_UnaryPlus, Q_Var

public class SimpleNode
extends java.lang.Object
implements RDQL_Node


Constructor Summary
SimpleNode(int i)
           
SimpleNode(RDQLParser p, int i)
           
 
Method Summary
 void dump(java.lang.String prefix)
           
 void jjtAddChild(RDQL_Node n, int i)
          This method tells the node to add its argument to the node's list of children.
 void jjtClose()
          This method is called after all the child nodes have been added.
 RDQL_Node jjtGetChild(int i)
          This method returns a child node.
 int jjtGetNumChildren()
          Return the number of children the node has.
 RDQL_Node jjtGetParent()
           
 void jjtOpen()
          This method is called after the node has been made the current node.
 void jjtSetParent(RDQL_Node n)
          This pair of methods are used to inform the node of its parent.
 void postParse1(Query query)
           
 void postParse2(Query query)
           
 java.lang.String toString()
           
 java.lang.String toString(java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNode

public SimpleNode(int i)

SimpleNode

public SimpleNode(RDQLParser p,
                  int i)
Method Detail

jjtOpen

public void jjtOpen()
Description copied from interface: RDQL_Node
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.

Specified by:
jjtOpen in interface RDQL_Node

jjtClose

public void jjtClose()
Description copied from interface: RDQL_Node
This method is called after all the child nodes have been added.

Specified by:
jjtClose in interface RDQL_Node

jjtSetParent

public void jjtSetParent(RDQL_Node n)
Description copied from interface: RDQL_Node
This pair of methods are used to inform the node of its parent.

Specified by:
jjtSetParent in interface RDQL_Node

jjtGetParent

public RDQL_Node jjtGetParent()
Specified by:
jjtGetParent in interface RDQL_Node

jjtAddChild

public void jjtAddChild(RDQL_Node n,
                        int i)
Description copied from interface: RDQL_Node
This method tells the node to add its argument to the node's list of children.

Specified by:
jjtAddChild in interface RDQL_Node

jjtGetChild

public RDQL_Node jjtGetChild(int i)
Description copied from interface: RDQL_Node
This method returns a child node. The children are numbered from zero, left to right.

Specified by:
jjtGetChild in interface RDQL_Node

jjtGetNumChildren

public int jjtGetNumChildren()
Description copied from interface: RDQL_Node
Return the number of children the node has.

Specified by:
jjtGetNumChildren in interface RDQL_Node

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.lang.String prefix)

postParse2

public void postParse2(Query query)

postParse1

public void postParse1(Query query)

dump

public void dump(java.lang.String prefix)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.