org.ucl.xpath
Class DescendantOrSelfAxis

java.lang.Object
  extended byorg.ucl.xpath.ForwardAxis
      extended byorg.ucl.xpath.DescendantOrSelfAxis
All Implemented Interfaces:
Axis

public class DescendantOrSelfAxis
extends ForwardAxis

The descendant-or-self axis contains the context node and the descendants of the context node.


Constructor Summary
DescendantOrSelfAxis()
           
 
Method Summary
 ResultSequence iterate(NodeType node, DynamicContext dc)
          Retrieve the the descendants of the context node and the context node itself.
 
Methods inherited from class org.ucl.xpath.ForwardAxis
principal_node_kind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescendantOrSelfAxis

public DescendantOrSelfAxis()
Method Detail

iterate

public ResultSequence iterate(NodeType node,
                              DynamicContext dc)
Retrieve the the descendants of the context node and the context node itself.

Parameters:
node - is the type of node.
dc - is the dynamic context.
Returns:
The context node and its descendants.