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


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



public class ParentAxis
extends org.eclipse.wst.xml.xpath2.processor.internal.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

public org.w3c.dom.NodefindParent(org.w3c.dom.Node n)
    
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)
     returns parent accessors of the context node
public java.lang.Stringname()
    

Constructor Detail

ParentAxis

public ParentAxis()


Methods Detail

findParent

public org.w3c.dom.Node findParent(org.w3c.dom.Node n)

Parameters

n

Returns

org.w3c.dom.Node


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)

returns parent accessors of the context node

Parameters

node - is the node type.

copyInto

limitNode


name

public java.lang.String name()

Returns

java.lang.String