com.hp.hpl.jena.sparql.lang.rdql
Interface RDQL_Node

All Known Implementing Classes:
ParsedLiteral, Q_Add, Q_ArgList, Q_BitAnd, Q_BitOr, Q_BitXor, Q_BooleanLiteral, 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_NumericLiteral, Q_PatternLiteral, Q_PrefixDecl, Q_PrefixesClause, Q_QName, Q_Query, Q_QuotedURI, Q_RightSignedShift, Q_RightUnsignedShift, Q_SelectClause, Q_SourceClause, Q_SourceSelector, Q_String, Q_StringEqual, Q_StringLangEqual, Q_StringMatch, Q_StringNoMatch, Q_StringNotEqual, Q_Subtract, Q_TextLiteral, Q_TextLiteral2, Q_TriplePattern, Q_TriplePatternClause, Q_UnaryMinus, Q_UnaryNot, Q_UnaryPlus, Q_URI, Q_URL, Q_Var, SimpleNode, WorkingVar

public interface RDQL_Node

Product of JavaCC - must be called "Node" which makes working with Jena graph nodes fiddly!


Method Summary
 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.
 

Method Detail

jjtOpen

void jjtOpen()
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.


jjtClose

void jjtClose()
This method is called after all the child nodes have been added.


jjtSetParent

void jjtSetParent(RDQL_Node n)
This pair of methods are used to inform the node of its parent.


jjtGetParent

RDQL_Node jjtGetParent()

jjtAddChild

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


jjtGetChild

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


jjtGetNumChildren

int jjtGetNumChildren()
Return the number of children the node has.



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