org.priha.query
Class XPathQueryImpl

java.lang.Object
  extended by org.priha.query.QueryImpl
      extended by org.priha.query.XPathQueryImpl

public class XPathQueryImpl
extends QueryImpl

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

Author:
Janne Jalkanen

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
 

Constructor Detail

XPathQueryImpl

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

getLanguage

public java.lang.String getLanguage()

getStatement

public java.lang.String getStatement()