de.odysseus.el.tree.impl.ast
Class AstInvocation

java.lang.Object
  extended by de.odysseus.el.tree.impl.ast.AstNode
      extended by de.odysseus.el.tree.impl.ast.AstRightValue
          extended by de.odysseus.el.tree.impl.ast.AstInvocation
All Implemented Interfaces:
ExpressionNode, Node
Direct Known Subclasses:
AstFunction, AstMethod

public abstract class AstInvocation
extends AstRightValue


Field Summary
protected  java.util.List<AstNode> nodes
           
protected  boolean varargs
           
 
Constructor Summary
AstInvocation(java.util.List<AstNode> nodes, boolean varargs)
           
 
Method Summary
protected  AstNode getParam(int i)
           
 int getParamCount()
           
protected  java.lang.Object invoke(Bindings bindings, ELContext context, java.lang.Object base, java.lang.reflect.Method method)
          Invoke method.
 boolean isVarArgs()
           
 
Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue
getMethodInfo, getType, invoke, isLeftValue, isLiteralText, isReadOnly, setValue
 
Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode
appendStructure, eval, getStructuralId, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.odysseus.el.tree.Node
getCardinality, getChild
 

Field Detail

nodes

protected final java.util.List<AstNode> nodes

varargs

protected final boolean varargs
Constructor Detail

AstInvocation

public AstInvocation(java.util.List<AstNode> nodes,
                     boolean varargs)
Method Detail

invoke

protected java.lang.Object invoke(Bindings bindings,
                                  ELContext context,
                                  java.lang.Object base,
                                  java.lang.reflect.Method method)
                           throws java.lang.reflect.InvocationTargetException,
                                  java.lang.IllegalAccessException
Invoke method.

Parameters:
bindings -
context -
base -
method -
Returns:
method result
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

getParamCount

public int getParamCount()

getParam

protected AstNode getParam(int i)

isVarArgs

public boolean isVarArgs()

Copyright © 2006-2009 Odysseus Software GmbH.