sferyx.javascript.browserengine
Class JavaScriptEmulatorEngine

java.lang.Object
  extended by sferyx.javascript.browserengine.JavaScriptEmulatorEngine

public class JavaScriptEmulatorEngine
extends java.lang.Object

This class provides generic javascript compatibility reference. This is very useful if you need to access document elements and manipulte them using the W3C DOM as specified in the common browser javascript implementations. We have provide the most commonly supported and used javascript methods and properties in order to provide developers with an easy and familiar way for handling and manipulating documents.


Field Summary
static int PREVIEW_MODE
           
static int VISUAL_EDITOR_MODE
           
 
Constructor Summary
JavaScriptEmulatorEngine(HTMLBrowser htmlEditor)
          This class provides generic javascript compatibility reference.
 
Method Summary
 DocumentReference getDocument()
          Will provide a DocumentReference in order to allow javascript like interface to the document elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VISUAL_EDITOR_MODE

public static final int VISUAL_EDITOR_MODE
See Also:
Constant Field Values

PREVIEW_MODE

public static final int PREVIEW_MODE
See Also:
Constant Field Values
Constructor Detail

JavaScriptEmulatorEngine

public JavaScriptEmulatorEngine(HTMLBrowser htmlEditor)
This class provides generic javascript compatibility reference. This is very useful if you need to access document elements and manipulte them using the W3C DOM as specified in the common browser javascript implementations. We have provide the most commonly supported and used javascript methods and properties in order to provide developers with an easy and familiar way for handling and manipulating documents.

Method Detail

getDocument

public DocumentReference getDocument()
Will provide a DocumentReference in order to allow javascript like interface to the document elements