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 Object
coerceStringToType
(String value, Class<?> type) protected BigDecimal
coerceToBigDecimal
(Object value) protected BigInteger
coerceToBigInteger
(Object value) protected Boolean
coerceToBoolean
(Object value) protected Byte
coerceToByte
(Object value) protected Character
coerceToCharacter
(Object value) protected Double
coerceToDouble
(Object value) protected <T extends Enum<T>>
TcoerceToEnum
(Object value, Class<T> type) protected Float
coerceToFloat
(Object value) protected Integer
coerceToInteger
(Object value) protected Long
coerceToLong
(Object value) protected Short
coerceToShort
(Object value) protected String
coerceToString
(Object value) protected Object
coerceToType
(Object value, Class<?> type) <T> T
Convert the given input value to the specified target type.boolean
int
hashCode()
-
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:TypeConverter
Convert the given input value to the specified target type.- Specified by:
convert
in interfaceTypeConverter
- Parameters:
value
- input valuetype
- target type- Returns:
- conversion result
- Throws:
jakarta.el.ELException
-