org.exist.xquery
Class DescendantSelector

java.lang.Object
  extended byorg.exist.xquery.DescendantSelector
All Implemented Interfaces:
NodeSelector
Direct Known Subclasses:
DescendantOrSelfSelector

public class DescendantSelector
extends java.lang.Object
implements NodeSelector

Author:
Wolfgang Meier (wolfgang@exist-db.org)

Field Summary
protected  NodeSet context
           
protected  int contextId
           
 
Constructor Summary
DescendantSelector(NodeSet contextSet, int contextId)
           
 
Method Summary
 NodeProxy match(DocumentImpl doc, long gid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected final NodeSet context

contextId

protected final int contextId
Constructor Detail

DescendantSelector

public DescendantSelector(NodeSet contextSet,
                          int contextId)
Method Detail

match

public NodeProxy match(DocumentImpl doc,
                       long gid)
Specified by:
match in interface NodeSelector


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.