Package javax.jcr.query.qom
Interface DescendantNode
-
- All Superinterfaces:
Constraint
public interface DescendantNode extends Constraint
Tests whether theselectornode is a descendant of a node reachable by absolute pathpath.A node-tuple satisfies the constraint only if:
selectorNode.getAncestor(n).isSame(session.getNode(path)) && selectorNode.getDepth() > nwould return true for some non-negative integern, whereselectorNodeis the node for the specified selector.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAncestorPath()Gets the absolute path.StringgetSelectorName()Gets the name of the selector against which to apply this constraint.
-