FileDocCategorySizeDatePackage
ExpressionNode.javaAPI DocJava SE 5 API1833Fri Aug 26 14:56:06 BST 2005com.sun.org.apache.xpath.internal

ExpressionNode

public interface ExpressionNode implements SourceLocator
A class that implements this interface can construct expressions, give information about child and parent expressions, and give the originating source information. A class that implements this interface does not lay any claim to being directly executable.

Note: This interface should not be considered stable. Only exprSetParent and exprGetParent can be counted on to work reliably. Work in progress.

Fields Summary
Constructors Summary
Methods Summary
public voidexprAddChild(com.sun.org.apache.xpath.internal.ExpressionNode n, int i)
This method tells the node to add its argument to the node's list of children.

public com.sun.org.apache.xpath.internal.ExpressionNodeexprGetChild(int i)
This method returns a child node. The children are numbered from zero, left to right.

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

public com.sun.org.apache.xpath.internal.ExpressionNodeexprGetParent()

public voidexprSetParent(com.sun.org.apache.xpath.internal.ExpressionNode n)
This pair of methods are used to inform the node of its parent.