Top Description Methods
com.sun.org.apache.xpath.internal

public Interface ExpressionNode

extends SourceLocator
Known Direct Implementers
com.sun.org.apache.xpath.internal.Expression
Imports
javax.xml.transform.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.

Method Summary

Modifier and TypeMethod and Description
public void
exprAddChild(ExpressionNode n, int i)

This method tells the node to add its argument to the node's list of children.

public ExpressionNode
exprGetChild(int i)

This method returns a child node.

public int
exprGetNumChildren()

Return the number of children the node has.

public ExpressionNode
public void
exprSetParent(ExpressionNode n)

This pair of methods are used to inform the node of its parent.

Inherited from javax.xml.transform.SourceLocator:
getColumnNumbergetLineNumbergetPublicIdgetSystemId

Method Detail

exprAddChildback to summary
public void exprAddChild(ExpressionNode n, int i)

This method tells the node to add its argument to the node's list of children.

exprGetChildback to summary
public ExpressionNode exprGetChild(int i)

This method returns a child node. The children are numbered from zero, left to right.

exprGetNumChildrenback to summary
public int exprGetNumChildren()

Return the number of children the node has.

exprGetParentback to summary
public ExpressionNode exprGetParent()
exprSetParentback to summary
public void exprSetParent(ExpressionNode n)

This pair of methods are used to inform the node of its parent.