2.17.2: 2011-06-17

net.sf.basedb.util.jep.convert
Class StringConverter

java.lang.Object
  extended by net.sf.basedb.util.jep.convert.AbstractJepConversionFunction<String>
      extended by net.sf.basedb.util.jep.convert.StringConverter
All Implemented Interfaces:
JepConversionFunction<String>

public class StringConverter
extends AbstractJepConversionFunction<String>

Convert a String constant to a Query API Expression.

Version:
2.4
Author:
nicklas
Last modified
$Date: 2008-09-11 22:08:14 +0200 (Thu, 11 Sep 2008) $

Constructor Summary
StringConverter()
           
 
Method Summary
 Expression toExpression(String s)
          Convert to expression by calling Expressions.string(String).
 
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction
getDescription, getName, isFunction, isOperator, toRestriction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringConverter

public StringConverter()
Method Detail

toExpression

public Expression toExpression(String s)
Convert to expression by calling Expressions.string(String).

Specified by:
toExpression in interface JepConversionFunction<String>
Overrides:
toExpression in class AbstractJepConversionFunction<String>
Parameters:
s - The object to convert
Returns:
An expression or null

2.17.2: 2011-06-17