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 Objectaccept(QOMTreeVisitor visitor, Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.StringgetAncestorSelectorName()Gets the name of the ancestor selector.NamegetAncestorSelectorQName()Gets the name of the ancestor selector.StringgetDescendantSelectorName()Gets the name of the descendant selector.NamegetDescendantSelectorQName()Gets the name of the descendant selector.StringtoString()-
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:
getDescendantSelectorNamein interfaceDescendantNodeJoinCondition- Returns:
- the selector name; non-null
-
getAncestorSelectorName
public String getAncestorSelectorName()
Gets the name of the ancestor selector.- Specified by:
getAncestorSelectorNamein 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 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
-
-