Package org.camunda.bpm.engine.impl.juel
Class Bindings
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.juel.Bindings
 
- 
- All Implemented Interfaces:
- Serializable,- TypeConverter
 
 public class Bindings extends Object implements TypeConverter Bindings, usually created by aTree.- Author:
- Christoph Beck
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface org.camunda.bpm.engine.impl.juel.TypeConverterDEFAULT
 
- 
 - 
Constructor SummaryConstructors Constructor Description Bindings(Method[] functions, ValueExpression[] variables)Constructor.Bindings(Method[] functions, ValueExpression[] variables, TypeConverter converter)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tconvert(Object value, Class<T> type)Apply type conversion.booleanequals(Object obj)MethodgetFunction(int index)Get function by index.ValueExpressiongetVariable(int index)Get variable by index.inthashCode()booleanisFunctionBound(int index)Test if given index is bound to a function.booleanisVariableBound(int index)Test if given index is bound to a variable.
 
- 
- 
- 
Constructor Detail- 
Bindingspublic Bindings(Method[] functions, ValueExpression[] variables) Constructor.
 - 
Bindingspublic Bindings(Method[] functions, ValueExpression[] variables, TypeConverter converter) Constructor.
 
- 
 - 
Method Detail- 
getFunctionpublic Method getFunction(int index) Get function by index.- Parameters:
- index- function index
- Returns:
- method
 
 - 
isFunctionBoundpublic boolean isFunctionBound(int index) Test if given index is bound to a function. This method performs an index check.- Parameters:
- index- identifier index
- Returns:
- trueif the given index is bound to a function
 
 - 
getVariablepublic ValueExpression getVariable(int index) Get variable by index.- Parameters:
- index- identifier index
- Returns:
- value expression
 
 - 
isVariableBoundpublic boolean isVariableBound(int index) Test if given index is bound to a variable. This method performs an index check.- Parameters:
- index- identifier index
- Returns:
- trueif the given index is bound to a variable
 
 - 
convertpublic <T> T convert(Object value, Class<T> type) Apply type conversion.- Specified by:
- convertin interface- TypeConverter
- Parameters:
- value- value to convert
- type- target type
- Returns:
- converted value
- Throws:
- ELException
 
 
- 
 
-