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

java.lang.Object
  extended by org.apache.jackrabbit.oak.jcr.query.qom.SourceImpl
      extended by org.apache.jackrabbit.oak.jcr.query.qom.SelectorImpl
All Implemented Interfaces:
javax.jcr.query.qom.Selector, javax.jcr.query.qom.Source

public class SelectorImpl
extends SourceImpl
implements javax.jcr.query.qom.Selector

The implementation of the corresponding JCR interface.


Constructor Summary
SelectorImpl(String nodeTypeName, String selectorName)
           
 
Method Summary
 String getNodeTypeName()
           
 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

SelectorImpl

public SelectorImpl(String nodeTypeName,
                    String selectorName)
Method Detail

getNodeTypeName

public String getNodeTypeName()
Specified by:
getNodeTypeName in interface javax.jcr.query.qom.Selector

getSelectorName

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

toString

public String toString()
Overrides:
toString in class Object

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.