org.priha.query
Class XPathQueryImpl

java.lang.Object
  extended by org.priha.query.QueryImpl
      extended by org.priha.query.XPathQueryImpl
All Implemented Interfaces:
javax.jcr.query.Query

public class XPathQueryImpl
extends QueryImpl
implements javax.jcr.query.Query

Implements an XPath query by using the XPathQueryBuilder to construct an abstract query tree (AQT).

Author:
Janne Jalkanen

Field Summary
 
Fields inherited from interface javax.jcr.query.Query
SQL, XPATH
 
Constructor Summary
XPathQueryImpl(SessionImpl session, java.lang.String statement)
           
 
Method Summary
 java.lang.String getLanguage()
           
 java.lang.String getStatement()
           
 
Methods inherited from class org.priha.query.QueryImpl
execute, getStoredQueryPath, storeAsNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.query.Query
execute, getStoredQueryPath, storeAsNode
 

Constructor Detail

XPathQueryImpl

public XPathQueryImpl(SessionImpl session,
                      java.lang.String statement)
               throws javax.jcr.query.InvalidQueryException
Throws:
javax.jcr.query.InvalidQueryException
Method Detail

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface javax.jcr.query.Query

getStatement

public java.lang.String getStatement()
Specified by:
getStatement in interface javax.jcr.query.Query