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

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

public class SameNodeImpl
extends ConstraintImpl
implements javax.jcr.query.qom.SameNode

The implementation of the corresponding JCR interface.


Constructor Summary
SameNodeImpl(String selectorName, String path)
           
 
Method Summary
 void bindVariables(QueryObjectModelImpl qom)
           
 String getPath()
           
 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

SameNodeImpl

public SameNodeImpl(String selectorName,
                    String path)
Method Detail

getSelectorName

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

getPath

public String getPath()
Specified by:
getPath in interface javax.jcr.query.qom.SameNode

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.