de.odysseus.el.tree
Class Bindings

java.lang.Object
  extended by de.odysseus.el.tree.Bindings
All Implemented Interfaces:
java.io.Serializable

public class Bindings
extends java.lang.Object
implements java.io.Serializable

Bindings, usually created by a Tree.

Author:
Christoph Beck
See Also:
Serialized Form

Constructor Summary
Bindings(java.lang.reflect.Method[] functions, ValueExpression[] variables)
          Constructor.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bindings

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

Method Detail

getFunction

public java.lang.reflect.Method getFunction(int index)
Get function by index.

Parameters:
index - function index
Returns:
method

getVariable

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

Parameters:
index - identifier index
Returns:
value expression

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Copyright © 2006, 2007 Odysseus Software GmbH.