Package net.sf.basedb.util.jep.convert
Class StringConverter
java.lang.Object
net.sf.basedb.util.jep.convert.AbstractJepConversionFunction<String>
net.sf.basedb.util.jep.convert.StringConverter
- All Implemented Interfaces:
JepConversionFunction<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 (to, 11 sep 2008) $
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction
getDescription, getName, isFunction, isOperator, toRestriction
-
Constructor Details
-
StringConverter
public StringConverter()
-
-
Method Details
-
toExpression
Convert to expression by callingExpressions.string(String)
.- Specified by:
toExpression
in interfaceJepConversionFunction<String>
- Overrides:
toExpression
in classAbstractJepConversionFunction<String>
- Parameters:
s
- The object to convert- Returns:
- An expression or null
-