fi.hut.tml.xsmiles.ecma
Class DummyECMAScripter

java.lang.Object
  extended byfi.hut.tml.xsmiles.ecma.DummyECMAScripter
All Implemented Interfaces:
ECMAScripter

public class DummyECMAScripter
extends java.lang.Object
implements ECMAScripter

Author:
honkkis

Constructor Summary
DummyECMAScripter()
           
 
Method Summary
 void deleteExposedObject(java.lang.String name, java.lang.Object theObject)
          Remove a previously exposed object
 void destroy()
           
 void eval(java.lang.String scriptText)
           
 void exposeToScriptEngine(java.lang.String name, java.lang.Object theObject)
          Expose a java object to javascript as javascript object
 ESEventBroker getESEventBroker()
           
 void initialize(org.w3c.dom.Document doc)
          Resets the ECMAScript interpreter.
 boolean isInitialized()
           
 void setBrowserWindow(BrowserWindow browser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyECMAScripter

public DummyECMAScripter()
Method Detail

getESEventBroker

public ESEventBroker getESEventBroker()
Specified by:
getESEventBroker in interface ECMAScripter

initialize

public void initialize(org.w3c.dom.Document doc)
Description copied from interface: ECMAScripter
Resets the ECMAScript interpreter. The funtion is called from the class XMLDocument. It creates a new DOMHandler instance, which is not yet given a document. It also creates a new ecma interpreter

Specified by:
initialize in interface ECMAScripter

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface ECMAScripter

destroy

public void destroy()
Specified by:
destroy in interface ECMAScripter

eval

public void eval(java.lang.String scriptText)
Specified by:
eval in interface ECMAScripter

exposeToScriptEngine

public void exposeToScriptEngine(java.lang.String name,
                                 java.lang.Object theObject)
Description copied from interface: ECMAScripter
Expose a java object to javascript as javascript object

Specified by:
exposeToScriptEngine in interface ECMAScripter

deleteExposedObject

public void deleteExposedObject(java.lang.String name,
                                java.lang.Object theObject)
Description copied from interface: ECMAScripter
Remove a previously exposed object

Specified by:
deleteExposedObject in interface ECMAScripter

setBrowserWindow

public void setBrowserWindow(BrowserWindow browser)
Specified by:
setBrowserWindow in interface ECMAScripter


X-Smiles 1.2