org.alfresco.jcr.query
Class XPathQueryImpl

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

public class XPathQueryImpl
extends QueryImpl

Alfresco implementation of XPath Query


Field Summary
 
Fields inherited from interface javax.jcr.query.Query
SQL, XPATH
 
Constructor Summary
XPathQueryImpl(SessionImpl session, java.lang.String statement)
          Construct
 
Method Summary
 javax.jcr.query.QueryResult execute()
           
 java.lang.String getLanguage()
           
 void isValidStatement()
          Is the statement valid?
 
Methods inherited from class org.alfresco.jcr.query.QueryImpl
getProxy, getSession, getStatement, 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)
Construct

Parameters:
statement - the xpath statement
Method Detail

isValidStatement

public void isValidStatement()
                      throws javax.jcr.query.InvalidQueryException
Description copied from class: QueryImpl
Is the statement valid?

Specified by:
isValidStatement in class QueryImpl
Throws:
javax.jcr.query.InvalidQueryException

execute

public javax.jcr.query.QueryResult execute()
                                    throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getLanguage

public java.lang.String getLanguage()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.