|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.javax.el.Expression
org.activiti.engine.impl.javax.el.ValueExpression
org.activiti.engine.impl.juel.ObjectValueExpression
public final class ObjectValueExpression
Object wrapper expression.
构造方法摘要 | |
---|---|
ObjectValueExpression(TypeConverter converter,
Object object,
Class<?> type)
Wrap an object into a value expression. |
方法摘要 | |
---|---|
boolean |
equals(Object obj)
Two object value expressions are equal if and only if their wrapped objects are equal. |
Class<?> |
getExpectedType()
Returns the type the result of the expression will be coerced to after evaluation. |
String |
getExpressionString()
Answer null . |
Class<?> |
getType(ELContext context)
Answer null . |
Object |
getValue(ELContext context)
Answer the wrapped object, coerced to the expected type. |
int |
hashCode()
Returns the hash code for this Expression. |
boolean |
isLiteralText()
Answer false . |
boolean |
isReadOnly(ELContext context)
Answer true . |
void |
setValue(ELContext context,
Object value)
Throw an exception. |
String |
toString()
|
从类 org.activiti.engine.impl.javax.el.ValueExpression 继承的方法 |
---|
getValueReference |
从类 java.lang.Object 继承的方法 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
构造方法详细信息 |
---|
public ObjectValueExpression(TypeConverter converter, Object object, Class<?> type)
converter
- type converterobject
- the object to wraptype
- the expected type this object will be coerced in getValue(ELContext)
.方法详细信息 |
---|
public boolean equals(Object obj)
Expression
中的 equals
obj
- the Object to test for equality.
public int hashCode()
Expression
复制的描述Expression.equals(Object)
method
on how two expressions can be equal if their expression Strings are different. Recall that if
two objects are equal according to the equals(Object) method, then calling the hashCode
method on each of the two objects must produce the same integer result. Implementations must
take special note and implement hashCode correctly.
Expression
中的 hashCode
Expression.equals(Object)
,
Hashtable
,
Object.hashCode()
public Object getValue(ELContext context)
ValueExpression
中的 getValue
context
- The context of this evaluation.
public String getExpressionString()
null
.
Expression
中的 getExpressionString
public boolean isLiteralText()
false
.
Expression
中的 isLiteralText
public Class<?> getType(ELContext context)
null
.
ValueExpression
中的 getType
context
- The context of this evaluation.
public boolean isReadOnly(ELContext context)
true
.
ValueExpression
中的 isReadOnly
context
- The context of this evaluation.
public void setValue(ELContext context, Object value)
ValueExpression
中的 setValue
context
- The context of this evaluation.value
- The new value to be set.public String toString()
Object
中的 toString
public Class<?> getExpectedType()
ValueExpression
复制的描述
ValueExpression
中的 getExpectedType
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |