org.equanda.util.script
Class FScriptExtensionPool

java.lang.Object
  extended by org.equanda.util.script.FScriptExtensionPool
All Implemented Interfaces:
murlen.util.fscript.FSArrayExtension, murlen.util.fscript.FSExtension, murlen.util.fscript.FSFunctionExtension, murlen.util.fscript.FSVarExtension

public final class FScriptExtensionPool
extends Object
implements murlen.util.fscript.FSExtension

Pool of extensions for Fscript, to allow reuse of objects among the Fscript instances.

Author:
Joachim Van der Auwera

Method Summary
static void add(murlen.util.fscript.FSExtension ext)
           
 Object callFunction(String name, ArrayList params)
           
static FScriptExtensionPool getPool()
           
 Object getVar(String name)
           
 Object getVar(String name, Object index)
           
 void setVar(String name, Object value)
           
 void setVar(String name, Object index, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPool

public static FScriptExtensionPool getPool()

getVar

public Object getVar(String name)
              throws murlen.util.fscript.FSException
Specified by:
getVar in interface murlen.util.fscript.FSVarExtension
Throws:
murlen.util.fscript.FSException

setVar

public void setVar(String name,
                   Object value)
            throws murlen.util.fscript.FSException
Specified by:
setVar in interface murlen.util.fscript.FSVarExtension
Throws:
murlen.util.fscript.FSException

callFunction

public Object callFunction(String name,
                           ArrayList params)
                    throws murlen.util.fscript.FSException
Specified by:
callFunction in interface murlen.util.fscript.FSFunctionExtension
Throws:
murlen.util.fscript.FSException

getVar

public Object getVar(String name,
                     Object index)
              throws murlen.util.fscript.FSException
Specified by:
getVar in interface murlen.util.fscript.FSArrayExtension
Throws:
murlen.util.fscript.FSException

setVar

public void setVar(String name,
                   Object index,
                   Object value)
            throws murlen.util.fscript.FSException
Specified by:
setVar in interface murlen.util.fscript.FSArrayExtension
Throws:
murlen.util.fscript.FSException

add

public static void add(murlen.util.fscript.FSExtension ext)


Copyright © 2007-2009. All Rights Reserved.