net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion
Class SimpleExpression
java.lang.Object
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.BaseCriterion
net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.SimpleExpression
- All Implemented Interfaces:
- Serializable, Criterion
public class SimpleExpression
- extends BaseCriterion
- implements Criterion
superclass for "simple" comparisons (with XPATH binary operators)
- Version:
- $Id: SimpleExpression.java 3285 2011-01-24 18:10:19Z fgiust $
- Author:
- Federico Grilli
- See Also:
- Serialized Form
SimpleExpression
protected SimpleExpression(String propertyName,
Object value,
String op)
toString
public String toString()
- Overrides:
toString in class Object
getOp
protected final String getOp()
toXPathString
public String toXPathString(Criteria criteria)
throws JCRQueryException
- Description copied from interface:
Criterion
- Render the XPath fragment
- Specified by:
toXPathString in interface Criterion
- Parameters:
criteria - input criteria
- Returns:
- converted XPATH expression
- Throws:
JCRQueryException - if there is a problem converting the input criteria to a valid xpath expression
Copyright © 2009-2011 Openmind. All Rights Reserved.