|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.odysseus.el.tree.Bindings
public class Bindings
Bindings, usually created by a Tree.
| Field Summary |
|---|
| Fields inherited from interface de.odysseus.el.misc.TypeConverter |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
Bindings(java.lang.reflect.Method[] functions,
ValueExpression[] variables)
Constructor. |
|
Bindings(java.lang.reflect.Method[] functions,
ValueExpression[] variables,
TypeConverter converter)
Constructor. |
|
| Method Summary | ||
|---|---|---|
|
convert(java.lang.Object value,
java.lang.Class<T> type)
Apply type conversion. |
|
boolean |
equals(java.lang.Object obj)
|
|
java.lang.reflect.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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bindings(java.lang.reflect.Method[] functions,
ValueExpression[] variables)
public Bindings(java.lang.reflect.Method[] functions,
ValueExpression[] variables,
TypeConverter converter)
| Method Detail |
|---|
public java.lang.reflect.Method getFunction(int index)
index - function index
public boolean isFunctionBound(int index)
index - identifier index
true if the given index is bound to a functionpublic ValueExpression getVariable(int index)
index - identifier index
public boolean isVariableBound(int index)
index - identifier index
true if the given index is bound to a variable
public <T> T convert(java.lang.Object value,
java.lang.Class<T> type)
convert in interface TypeConvertervalue - value to converttype - target type
ELExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Copyright © 2006-2009 Odysseus Software GmbH. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||