org.ucl.xpath
Interface Axis

All Known Implementing Classes:
ForwardAxis, ReverseAxis

public interface Axis

This is the interface class for an Axis. An axis defines the "direction of movement" for a step between a context node and another node that is reachable via the axis.


Method Summary
 ResultSequence iterate(NodeType node, DynamicContext dc)
          Get elements and attributes.
 NodeType principal_node_kind()
          Get the principle kind of node.
 

Method Detail

iterate

public ResultSequence iterate(NodeType node,
                              DynamicContext dc)
Get elements and attributes.

Parameters:
node - is the type of node.
dc - is the dynamic context.
Returns:
The result sequence.

principal_node_kind

public NodeType principal_node_kind()
Get the principle kind of node.

Returns:
The principle node kind.