org.ucl.xpath
Class PrecedingSiblingAxis

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

public class PrecedingSiblingAxis
extends ReverseAxis

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


Constructor Summary
PrecedingSiblingAxis()
           
 
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

PrecedingSiblingAxis

public PrecedingSiblingAxis()
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 and the context node
Throws:
dc - is the Dynamic context.