Package javax.jcr.query.qom
Interface DescendantNode
- All Superinterfaces:
Constraint
- All Known Implementing Classes:
DescendantNodeImpl
Tests whether the
selector node is a descendant of a
node reachable by absolute path path.
A node-tuple satisfies the constraint only if:
selectorNode.getAncestor(n).isSame(session.getNode(path)) invalid input: '&'invalid input: '&' selectorNode.getDepth() > nwould return true for some non-negative integer
n, where selectorNode is the node for the specified selector.- Since:
- JCR 2.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the absolute path.Gets the name of the selector against which to apply this constraint.