public class Bindings extends Object implements TypeConverter
Tree.DEFAULT| Constructor and Description |
|---|
Bindings(Method[] functions,
javax.el.ValueExpression[] variables)
Constructor.
|
Bindings(Method[] functions,
javax.el.ValueExpression[] variables,
TypeConverter converter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(Object value,
Class<T> type)
Apply type conversion.
|
boolean |
equals(Object obj) |
Method |
getFunction(int index)
Get function by index.
|
javax.el.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.
|
public Bindings(Method[] functions, javax.el.ValueExpression[] variables)
public Bindings(Method[] functions, javax.el.ValueExpression[] variables, TypeConverter converter)
public Method getFunction(int index)
index - function indexpublic boolean isFunctionBound(int index)
index - identifier indextrue if the given index is bound to a functionpublic javax.el.ValueExpression getVariable(int index)
index - identifier indexpublic boolean isVariableBound(int index)
index - identifier indextrue if the given index is bound to a variablepublic <T> T convert(Object value, Class<T> type)
convert in interface TypeConvertervalue - value to converttype - target typejavax.el.ELExceptionCopyright © 2006–2016 Odysseus Software GmbH. All rights reserved.