Class 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 Detail

      • getDescendantSelectorName

        public java.lang.String getDescendantSelectorName()
        Gets the name of the descendant selector.
        Specified by:
        getDescendantSelectorName in interface javax.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:
        getAncestorSelectorName in interface javax.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 a visitor and calls the appropriate visit method depending on the type of this QOM node.
        Specified by:
        accept in class AbstractQOMNode
        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 class java.lang.Object