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:
javax.jcr.query.qom.DescendantNodeJoinCondition,javax.jcr.query.qom.JoinCondition
public class DescendantNodeJoinConditionImpl extends JoinConditionImpl implements javax.jcr.query.qom.DescendantNodeJoinCondition
DescendantNodeJoinConditionImpl...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(QOMTreeVisitor visitor, java.lang.Object data)Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.java.lang.StringgetAncestorSelectorName()Gets the name of the ancestor selector.NamegetAncestorSelectorQName()Gets the name of the ancestor selector.java.lang.StringgetDescendantSelectorName()Gets the name of the descendant selector.NamegetDescendantSelectorQName()Gets the name of the descendant selector.java.lang.StringtoString()
-
-
-
Method Detail
-
getDescendantSelectorName
public java.lang.String getDescendantSelectorName()
Gets the name of the descendant selector.- Specified by:
getDescendantSelectorNamein interfacejavax.jcr.query.qom.DescendantNodeJoinCondition- Returns:
- the selector name; non-null
-
getAncestorSelectorName
public java.lang.String getAncestorSelectorName()
Gets the name of the ancestor selector.- Specified by:
getAncestorSelectorNamein interfacejavax.jcr.query.qom.DescendantNodeJoinCondition- 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 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:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-