Package org.eclipse.wst.xml.xpath2.processor.internal


org.eclipse.wst.xml.xpath2.processor.internal
Class AncestorOrSelfAxis



public class AncestorOrSelfAxis
extends org.eclipse.wst.xml.xpath2.processor.internal.ReverseAxis
The ancestor-or-self axis contains the context node and the ancestors of the context node, this always includes the root node.

Constructor Summary

AncestorOrSelfAxis()

Method Summary

public voiditerate(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType node , org.eclipse.wst.xml.xpath2.api.ResultBuffer copyInto , org.w3c.dom.Node limitNode)
     Get ancestor nodes of the context node and the context node itself.
public java.lang.Stringname()
    

Constructor Detail

AncestorOrSelfAxis

public AncestorOrSelfAxis()


Methods Detail

iterate

public void iterate(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType node , org.eclipse.wst.xml.xpath2.api.ResultBuffer copyInto , org.w3c.dom.Node limitNode)

Get ancestor nodes of the context node and the context node itself.

Parameters

node - is the type of node.

copyInto

limitNode


name

public java.lang.String name()

Returns

java.lang.String