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
...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(QOMTreeVisitor visitor, java.lang.Object data)
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.java.lang.String
getAncestorSelectorName()
Gets the name of the ancestor selector.Name
getAncestorSelectorQName()
Gets the name of the ancestor selector.java.lang.String
getDescendantSelectorName()
Gets the name of the descendant selector.Name
getDescendantSelectorQName()
Gets the name of the descendant selector.java.lang.String
toString()
-
-
-
Method Detail
-
getDescendantSelectorName
public java.lang.String getDescendantSelectorName()
Gets the name of the descendant selector.- Specified by:
getDescendantSelectorName
in interfaceDescendantNodeJoinCondition
- Returns:
- the selector name; non-null
-
getAncestorSelectorName
public java.lang.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 java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.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:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-