Class Bindings
java.lang.Object
de.odysseus.el.tree.Bindings
- All Implemented Interfaces:
TypeConverter, Serializable
Bindings, usually created by a
Tree.- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeConverterprivate Method[]private static final Method[]private static final javax.el.ValueExpression[]private static final longprivate final javax.el.ValueExpression[]Fields inherited from interface TypeConverter
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Bindings(Method[] functions, javax.el.ValueExpression[] variables, TypeConverter converter) Constructor. -
Method Summary
Modifier and TypeMethodDescription<T> TApply type conversion.booleangetFunction(int index) Get function by index.javax.el.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.private voidprivate void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
NO_FUNCTIONS
-
NO_VARIABLES
private static final javax.el.ValueExpression[] NO_VARIABLES -
functions
-
variables
private final javax.el.ValueExpression[] variables -
converter
-
-
Constructor Details
-
Bindings
Constructor. -
Bindings
Constructor.
-
-
Method Details
-
getFunction
Get function by index.- Parameters:
index- function index- Returns:
- method
-
isFunctionBound
public 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
-
getVariable
public javax.el.ValueExpression getVariable(int index) Get variable by index.- Parameters:
index- identifier index- Returns:
- value expression
-
isVariableBound
public 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
-
convert
Apply type conversion.- Specified by:
convertin interfaceTypeConverter- Parameters:
value- value to converttype- target type- Returns:
- converted value
- Throws:
javax.el.ELException
-
equals
-
hashCode
-
writeObject
- Throws:
IOExceptionClassNotFoundException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-