Interface ConverterIfc
-
- All Known Implementing Classes:
ArrayConverter,BinaryConverter,BooleanConverter,DateTimeConverter,DurationConverter,ExpressionNodeConverter,NumberConverter,StringConverter,StructureConverter
public interface ConverterIfcConverter interface used by theDefaultEvaluationValueConverter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleancanConvert(java.lang.Object object)Checks, if a given object can be converted by this converter.EvaluationValueconvert(java.lang.Object object, ExpressionConfiguration configuration)Called to convert a previously checked data type.default java.lang.IllegalArgumentExceptionillegalArgument(java.lang.Object object)
-
-
-
Method Detail
-
convert
EvaluationValue convert(java.lang.Object object, ExpressionConfiguration configuration)
Called to convert a previously checked data type.- Parameters:
object- The object to convert.configuration- The current expression configuration.- Returns:
- The converted value.
-
canConvert
boolean canConvert(java.lang.Object object)
Checks, if a given object can be converted by this converter.- Parameters:
object- The object to convert.- Returns:
trueif the object can be converted, false otherwise.
-
illegalArgument
default java.lang.IllegalArgumentException illegalArgument(java.lang.Object object)
-
-