org.activiti.engine.impl.juel
类 TypeConverterImpl

java.lang.Object
  继承者 org.activiti.engine.impl.juel.TypeConverterImpl
所有已实现的接口:
Serializable, TypeConverter

public class TypeConverterImpl
extends Object
implements TypeConverter

Type Conversions as described in EL 2.1 specification (section 1.17).

另请参见:
序列化表格

字段摘要
 
从接口 org.activiti.engine.impl.juel.TypeConverter 继承的字段
DEFAULT
 
构造方法摘要
TypeConverterImpl()
           
 
方法摘要
protected  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>>
T
coerceToEnum(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(Object value, Class<T> type)
          Convert the given input value to the specified target type.
 boolean equals(Object obj)
           
 int hashCode()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

TypeConverterImpl

public TypeConverterImpl()
方法详细信息

coerceToBoolean

protected Boolean coerceToBoolean(Object value)

coerceToCharacter

protected Character coerceToCharacter(Object value)

coerceToBigDecimal

protected BigDecimal coerceToBigDecimal(Object value)

coerceToBigInteger

protected BigInteger coerceToBigInteger(Object value)

coerceToDouble

protected Double coerceToDouble(Object value)

coerceToFloat

protected Float coerceToFloat(Object value)

coerceToLong

protected Long coerceToLong(Object value)

coerceToInteger

protected Integer coerceToInteger(Object value)

coerceToShort

protected Short coerceToShort(Object value)

coerceToByte

protected Byte coerceToByte(Object value)

coerceToString

protected String coerceToString(Object value)

coerceToEnum

protected <T extends Enum<T>> T coerceToEnum(Object value,
                                             Class<T> type)

coerceStringToType

protected Object coerceStringToType(String value,
                                    Class<?> type)

coerceToType

protected Object coerceToType(Object value,
                              Class<?> type)

equals

public boolean equals(Object obj)
覆盖:
Object 中的 equals

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

convert

public <T> T convert(Object value,
                     Class<T> type)
          throws ELException
从接口 TypeConverter 复制的描述
Convert the given input value to the specified target type.

指定者:
接口 TypeConverter 中的 convert
参数:
value - input value
type - target type
返回:
conversion result
抛出:
ELException


Copyright © 2013 Alfresco. All rights reserved.