org.ucl.xpath
Class ParentAxis

java.lang.Object
  extended byorg.ucl.xpath.ReverseAxis
      extended byorg.ucl.xpath.ParentAxis
All Implemented Interfaces:
Axis
Direct Known Subclasses:
AncestorAxis

public class ParentAxis
extends ReverseAxis

the parent axis contains the sequence returned by the dm:parent accessor in, which returns the parent of the context node, or an empty sequence if the context node has no parent


Constructor Summary
ParentAxis()
           
 
Method Summary
 ResultSequence iterate(NodeType node, DynamicContext dc)
          returns parent accessors 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

ParentAxis

public ParentAxis()
Method Detail

iterate

public ResultSequence iterate(NodeType node,
                              DynamicContext dc)
returns parent accessors of the context node

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