FileDocCategorySizeDatePackage
Node.javaAPI DocAndroid 1.5 API1173Wed May 06 22:42:46 BST 2009org.apache.james.mime4j.field.address.parser

Node

public interface Node

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectjjtAccept(AddressListParserVisitor visitor, java.lang.Object data)
Accept the visitor.

public voidjjtAddChild(org.apache.james.mime4j.field.address.parser.Node n, int i)
This method tells the node to add its argument to the node's list of children.

public voidjjtClose()
This method is called after all the child nodes have been added.

public org.apache.james.mime4j.field.address.parser.NodejjtGetChild(int i)
This method returns a child node. The children are numbered from zero, left to right.

public intjjtGetNumChildren()
Return the number of children the node has.

public org.apache.james.mime4j.field.address.parser.NodejjtGetParent()

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

public voidjjtSetParent(org.apache.james.mime4j.field.address.parser.Node n)
This pair of methods are used to inform the node of its parent.