net.sourceforge.openutils.mgnlcriteria.jcr.query.xpath
Class XPathSelect

java.lang.Object
  extended by net.sourceforge.openutils.mgnlcriteria.jcr.query.xpath.XPathSelect

public class XPathSelect
extends Object

A simple XPATH SELECT statement

Version:
$Id: XPathSelect.java 2927 2010-08-29 15:31:09Z fgiust $
Author:
Federico Grilli

Constructor Summary
XPathSelect()
           
 
Method Summary
 XPathSelect setOrderByClause(String orderByClause)
           
 XPathSelect setPredicate(String predicate)
          Sets the predicate.
 XPathSelect setRoot(String root)
          Sets the selectClause.
 String toStatementString()
          Construct an XPATH SELECT statement from the given clauses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathSelect

public XPathSelect()
Method Detail

toStatementString

public String toStatementString()
Construct an XPATH SELECT statement from the given clauses


setOrderByClause

public XPathSelect setOrderByClause(String orderByClause)

setRoot

public XPathSelect setRoot(String root)
Sets the selectClause.

Parameters:
root - the root path for the jcr query

setPredicate

public XPathSelect setPredicate(String predicate)
Sets the predicate.

Parameters:
predicate - The predicate to set


Copyright © 2009-2010 Openmind. All Rights Reserved.