[all packages] [package ] [class hierarchy] [index]

public interface Node

(source file: Node.java)
java.lang.Object
   |
   +----Node

The pure class interface.
public interface Node

Methods

O jjtAddChild(Node, int)
This method tells the node to add its argument to the node's list of children.
O jjtClose()
This method is called after all the child nodes have been added.
O jjtGetChild(int)
This method returns a child node
O jjtGetNumChildren()
Return the number of children the node has.
O jjtGetParent()
O jjtOpen()
This method is called after the node has been made the current node
O jjtSetParent(Node)
This pair of methods are used to inform the node of its parent.

Methods

O jjtOpen
public abstract 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.

O jjtClose

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

O jjtSetParent

public abstract void jjtSetParent(Node n);
This pair of methods are used to inform the node of its parent.

O jjtGetParent

public abstract Node jjtGetParent();

O jjtAddChild

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

O jjtGetChild

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

O jjtGetNumChildren

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


[all packages] [package ] [class hierarchy] [index]
Node.html