Package org.camunda.bpm.impl.juel
Class TypeConverterImpl
java.lang.Object
org.camunda.bpm.impl.juel.TypeConverterImpl
- All Implemented Interfaces:
Serializable,TypeConverter
- Direct Known Subclasses:
FeelTypeConverter
Type Conversions as described in EL 2.1 specification (section 1.17).
- See Also:
-
Field Summary
Fields inherited from interface org.camunda.bpm.impl.juel.TypeConverter
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcoerceStringToType(String value, Class<?> type) protected BigDecimalcoerceToBigDecimal(Object value) protected BigIntegercoerceToBigInteger(Object value) protected BooleancoerceToBoolean(Object value) protected BytecoerceToByte(Object value) protected CharactercoerceToCharacter(Object value) protected DoublecoerceToDouble(Object value) protected <T extends Enum<T>>
TcoerceToEnum(Object value, Class<T> type) protected FloatcoerceToFloat(Object value) protected IntegercoerceToInteger(Object value) protected LongcoerceToLong(Object value) protected ShortcoerceToShort(Object value) protected StringcoerceToString(Object value) protected ObjectcoerceToType(Object value, Class<?> type) <T> TConvert the given input value to the specified target type.booleaninthashCode()
-
Constructor Details
-
TypeConverterImpl
public TypeConverterImpl()
-
-
Method Details
-
coerceToBoolean
-
coerceToCharacter
-
coerceToBigDecimal
-
coerceToBigInteger
-
coerceToDouble
-
coerceToFloat
-
coerceToLong
-
coerceToInteger
-
coerceToShort
-
coerceToByte
-
coerceToString
-
coerceToEnum
-
coerceStringToType
-
coerceToType
-
equals
-
hashCode
public int hashCode() -
convert
Description copied from interface:TypeConverterConvert the given input value to the specified target type.- Specified by:
convertin interfaceTypeConverter- Parameters:
value- input valuetype- target type- Returns:
- conversion result
- Throws:
jakarta.el.ELException
-