org.apache.jackrabbit.oak.jcr.query.qom
Class DescendantNodeImpl

java.lang.Object
  extended by org.apache.jackrabbit.oak.jcr.query.qom.ConstraintImpl
      extended by org.apache.jackrabbit.oak.jcr.query.qom.DescendantNodeImpl
All Implemented Interfaces:
javax.jcr.query.qom.Constraint, javax.jcr.query.qom.DescendantNode

public class DescendantNodeImpl
extends ConstraintImpl
implements javax.jcr.query.qom.DescendantNode

The implementation of the corresponding JCR interface.


Constructor Summary
DescendantNodeImpl(String selectorName, String ancestorPath)
           
 
Method Summary
 void bindVariables(QueryObjectModelImpl qom)
           
 String getAncestorPath()
           
 String getSelectorName()
           
protected  String protect(Object expression)
           
protected  String quoteColumnName(String name)
           
protected  String quoteNodeTypeName(String name)
           
protected  String quotePath(String path)
           
protected  String quotePropertyName(String name)
           
protected  String quoteSelectorName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescendantNodeImpl

public DescendantNodeImpl(String selectorName,
                          String ancestorPath)
Method Detail

getSelectorName

public String getSelectorName()
Specified by:
getSelectorName in interface javax.jcr.query.qom.DescendantNode

getAncestorPath

public String getAncestorPath()
Specified by:
getAncestorPath in interface javax.jcr.query.qom.DescendantNode

toString

public String toString()
Overrides:
toString in class Object

bindVariables

public void bindVariables(QueryObjectModelImpl qom)
Specified by:
bindVariables in class ConstraintImpl

protect

protected String protect(Object expression)

quotePath

protected String quotePath(String path)

quoteSelectorName

protected String quoteSelectorName(String name)

quotePropertyName

protected String quotePropertyName(String name)

quoteColumnName

protected String quoteColumnName(String name)

quoteNodeTypeName

protected String quoteNodeTypeName(String name)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.