com.dynamide.interpreters
Interface IInterpreter

All Known Implementing Classes:
BshInterpreter, TclInterpreter

public interface IInterpreter


Method Summary
 void close()
           
 java.lang.String emptyOutputBuffer()
           
 java.lang.Object eval(java.lang.String source)
           
 ScriptEvent fireEvent(ScriptEvent event, java.lang.String procName, ScriptEventSource eventSource, boolean sourceOnly)
           
 java.lang.String getOutputBuffer()
           
 Session getSession()
           
 java.lang.String getVersion()
           
 void setSession(Session session)
           
 void setVariable(java.lang.String name, java.lang.Object value)
           
 void unsetVariable(java.lang.String name)
           
 

Method Detail

getSession

Session getSession()

close

void close()
           throws java.lang.Throwable
Throws:
java.lang.Throwable

setSession

void setSession(Session session)

eval

java.lang.Object eval(java.lang.String source)
                      throws java.lang.Exception
Throws:
java.lang.Exception

fireEvent

ScriptEvent fireEvent(ScriptEvent event,
                      java.lang.String procName,
                      ScriptEventSource eventSource,
                      boolean sourceOnly)

getVersion

java.lang.String getVersion()

setVariable

void setVariable(java.lang.String name,
                 java.lang.Object value)

unsetVariable

void unsetVariable(java.lang.String name)

getOutputBuffer

java.lang.String getOutputBuffer()

emptyOutputBuffer

java.lang.String emptyOutputBuffer()


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.