| Tests whether the
ChildNode.getSelectorName selector node is a child of a
node reachable by absolute path
ChildNode.getPath path .
A node-tuple satisfies the constraint only if:
selectorNode.getParent().isSame(session.getNode(path))
would return true, where selectorNode is the node for the
specified selector.
The query is invalid if:
-
ChildNode.getSelectorName selector is not the name of a selector in the
query, or
-
ChildNode.getPath path is not a syntactically valid absolute path. Note,
however, that if the path is syntactically valid but does not identify a
node in the repository (or the node is not visible to this session,
because of access control constraints), the query is valid but the
constraint is not satisfied.
since: JCR 2.0 |