Class DescendantNodeJoinConditionImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.JoinConditionImpl
-
- org.apache.jackrabbit.spi.commons.query.qom.DescendantNodeJoinConditionImpl
-
- All Implemented Interfaces:
DescendantNodeJoinCondition
,JoinCondition
public class DescendantNodeJoinConditionImpl extends JoinConditionImpl implements DescendantNodeJoinCondition
DescendantNodeJoinConditionImpl
...
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
resolver
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(QOMTreeVisitor visitor, Object data)
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.String
getAncestorSelectorName()
Gets the name of the ancestor selector.Name
getAncestorSelectorQName()
Gets the name of the ancestor selector.String
getDescendantSelectorName()
Gets the name of the descendant selector.Name
getDescendantSelectorQName()
Gets the name of the descendant selector.String
toString()
-
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
getJCRName, getJCRPath, protect, quote, quote
-
-
-
-
Method Detail
-
getDescendantSelectorName
public String getDescendantSelectorName()
Gets the name of the descendant selector.- Specified by:
getDescendantSelectorName
in interfaceDescendantNodeJoinCondition
- Returns:
- the selector name; non-null
-
getAncestorSelectorName
public String getAncestorSelectorName()
Gets the name of the ancestor selector.- Specified by:
getAncestorSelectorName
in interfaceDescendantNodeJoinCondition
- Returns:
- the selector name; non-null
-
getDescendantSelectorQName
public Name getDescendantSelectorQName()
Gets the name of the descendant selector.- Returns:
- the selector name; non-null
-
getAncestorSelectorQName
public Name getAncestorSelectorQName()
Gets the name of the ancestor selector.- Returns:
- the selector name; non-null
-
accept
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.- Specified by:
accept
in classAbstractQOMNode
- Parameters:
visitor
- the visitor.data
- user defined data, which is passed to the visit method.- Throws:
Exception
-
-