Class DescendantNodeImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
org.apache.jackrabbit.spi.commons.query.qom.ConstraintImpl
org.apache.jackrabbit.spi.commons.query.qom.DescendantNodeImpl
- All Implemented Interfaces:
Constraint,DescendantNode
DescendantNodeImpl...-
Method Summary
Modifier and TypeMethodDescriptionaccept(QOMTreeVisitor visitor, Object data) Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.Gets the absolute path.getQPath()Gets the absolute path.Gets the name of the selector against which to apply this constraint.Gets the name of the selector against which to apply this constraint.toString()
-
Method Details
-
getSelectorName
Gets the name of the selector against which to apply this constraint.- Specified by:
getSelectorNamein interfaceDescendantNode- Returns:
- the selector name; non-null
-
getAncestorPath
Gets the absolute path.- Specified by:
getAncestorPathin interfaceDescendantNode- Returns:
- the path; non-null
-
getSelectorQName
Gets the name of the selector against which to apply this constraint.- Returns:
- the selector name; non-null
-
getQPath
Gets the absolute path.- Returns:
- the path; non-null
-
accept
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
toString
-