murlen.util.fscript
Interface FSFunctionExtension

All Known Subinterfaces:
FSExtension, FSParserExtension
All Known Implementing Classes:
BasicExtension, FScript, FSFastExtension, FSReflectionExtension

public interface FSFunctionExtension

FSFunctionExtension - simple function extension to plug into FSFastExtension

Copyright (C) 2002

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA

Author:
Joachim Van der Auwera modifications by Joachim Van der Auwera 02.08.2002 started

Method Summary
 java.lang.Object callFunction(java.lang.String name, java.util.ArrayList params)
          callFunction is called whenever a function call is made in FScript to a function not defined withing hte script itself
 

Method Detail

callFunction

public java.lang.Object callFunction(java.lang.String name,
                                     java.util.ArrayList params)
                              throws FSException

callFunction is called whenever a function call is made in FScript to a function not defined withing hte script itself

Parameters:
name - the name of the function
params - an array list of parameters passed to the function
Returns:
the return value (Object) of the call
Throws:
FSException