Package javax.jcr.query.qom
Interface SameNode
-
- All Superinterfaces:
Constraint
- All Known Implementing Classes:
SameNodeImpl
public interface SameNode extends Constraint
Tests whether theselectornode is reachable by absolute pathpath.A node-tuple satisfies the constraint only if:
selectorNode.isSame(session.getNode(path))
would return true, whereselectorNodeis the node for the specified selector.- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPath()Gets the absolute path.java.lang.StringgetSelectorName()Gets the name of the selector against which to apply this constraint.
-