org.activiti.engine.impl.juel
类 Bindings

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

public class Bindings
extends Object
implements TypeConverter

Bindings, usually created by a Tree.

作者:
Christoph Beck
另请参见:
序列化表格

字段摘要
 
从接口 org.activiti.engine.impl.juel.TypeConverter 继承的字段
DEFAULT
 
构造方法摘要
Bindings(Method[] functions, ValueExpression[] variables)
          Constructor.
Bindings(Method[] functions, ValueExpression[] variables, TypeConverter converter)
          Constructor.
 
方法摘要
<T> T
convert(Object value, Class<T> type)
          Apply type conversion.
 boolean equals(Object obj)
           
 Method getFunction(int index)
          Get function by index.
 ValueExpression getVariable(int index)
          Get variable by index.
 int hashCode()
           
 boolean isFunctionBound(int index)
          Test if given index is bound to a function.
 boolean isVariableBound(int index)
          Test if given index is bound to a variable.
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Bindings

public Bindings(Method[] functions,
                ValueExpression[] variables)
Constructor.


Bindings

public Bindings(Method[] functions,
                ValueExpression[] variables,
                TypeConverter converter)
Constructor.

方法详细信息

getFunction

public Method getFunction(int index)
Get function by index.

参数:
index - function index
返回:
method

isFunctionBound

public boolean isFunctionBound(int index)
Test if given index is bound to a function. This method performs an index check.

参数:
index - identifier index
返回:
true if the given index is bound to a function

getVariable

public ValueExpression getVariable(int index)
Get variable by index.

参数:
index - identifier index
返回:
value expression

isVariableBound

public boolean isVariableBound(int index)
Test if given index is bound to a variable. This method performs an index check.

参数:
index - identifier index
返回:
true if the given index is bound to a variable

convert

public <T> T convert(Object value,
                     Class<T> type)
Apply type conversion.

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

equals

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

hashCode

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


Copyright © 2013 Alfresco. All rights reserved.