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

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

public class ChildNodeImpl
extends ConstraintImpl
implements javax.jcr.query.qom.ChildNode

The implementation of the corresponding JCR interface.


Constructor Summary
ChildNodeImpl(String selectorName, String parentPath)
           
 
Method Summary
 void bindVariables(QueryObjectModelImpl qom)
           
 String getParentPath()
           
 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

ChildNodeImpl

public ChildNodeImpl(String selectorName,
                     String parentPath)
Method Detail

getSelectorName

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

getParentPath

public String getParentPath()
Specified by:
getParentPath in interface javax.jcr.query.qom.ChildNode

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.