org.ucl.xpath
Class PrecedingAxis

java.lang.Object
  extended byorg.ucl.xpath.ReverseAxis
      extended byorg.ucl.xpath.PrecedingAxis
All Implemented Interfaces:
Axis

public class PrecedingAxis
extends ReverseAxis

the preceding axis contains all nodes that are descendants of the root of the tree in which the context node is found


Constructor Summary
PrecedingAxis()
           
 
Method Summary
 ResultSequence iterate(NodeType node, DynamicContext dc)
          returns preceding nodes of the context node
 
Methods inherited from class org.ucl.xpath.ReverseAxis
principal_node_kind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrecedingAxis

public PrecedingAxis()
Method Detail

iterate

public ResultSequence iterate(NodeType node,
                              DynamicContext dc)
returns preceding nodes of the context node

Parameters:
node - is the node type.
dc - is the dynamic context.
Returns:
the descendants of the context node
Throws:
dc - is the Dynamic context.