sferyx.javascript.browserengine
Class DocumentReference

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

public class DocumentReference
extends java.lang.Object

This class represents a document, and provides basic API simulating the javascript DOM model.


Field Summary
 java.lang.String activeElement
           
 java.lang.String alinkColor
           
 java.lang.String[] all
          Not implemented
 java.lang.String[] anchors
          Not implemented
 java.lang.String[] applets
          Not implemented
 java.lang.String background
           
 java.lang.String bgColor
           
 java.lang.String body
           
 java.lang.String characterset
           
 java.lang.String charset
           
 java.lang.String[] classes
          Not implemented
 java.lang.String cookie
           
 java.lang.String defaultCharset
           
 java.lang.String designMode
           
 java.lang.String doctype
           
 java.lang.String documentElement
           
 java.lang.String domain
           
 java.lang.String[] embeds
          Not implemented
 java.lang.String expando
           
 java.lang.String fgColor
           
 java.lang.String fileCreatedDate
           
 java.lang.String fileModifiedDate
           
 java.lang.String fileSize
           
 java.lang.String form_name
           
 FormElement[] forms
          Returns an array of form elements
 java.lang.String[] frames
          Not implemented
 java.lang.String height
           
 java.lang.String[] ids
          Not implemented
 java.lang.String[] images
          Not implemented
 java.lang.String implementation
           
 java.lang.String lastModified
           
 java.lang.String[] layers
          Not implemented
 java.lang.String linkColor
           
 java.lang.String[] links
          Not implemented
 java.lang.String location
           
 java.lang.String parentWindow
           
 java.lang.String[] plugins
          Not implemented
 java.lang.String protocol
           
 java.lang.String readyState
           
 java.lang.String referrer
           
 java.lang.String[] scripts
           
 java.lang.String selection
           
 java.lang.String[] styleSheets
          Not implemented
 java.lang.String[] tags
          Not implemented
 java.lang.String title
           
 java.lang.String uniqueID
           
 java.lang.String URL
           
 java.lang.String vlinkColor
           
 java.lang.String width
           
 
Constructor Summary
DocumentReference(HTMLBrowser htmlEditor)
           
 
Method Summary
 void attachEvent()
          Not implemented
 void clear()
          Not implemented
 void close()
          Not implemented
 void contextual()
           
 void createAttribute()
          Not implemented
 void createCDATASection()
          Not implemented
 void createComment()
          Not implemented
 void createDocumentFragment()
           
 void createElement()
          Not implemented
 void createEntityReference()
          Not implemented
 void createProcessingInstruction()
          Not implemented
 void createStyleSheet()
          Not implemented
 void createTextNode()
          Not implemented
 void detachEvent()
          Not implemented
 void elementFromPoint()
          Not implemented
 void execCommand()
          Not implemented
 DocumentElement[] forms()
           
 DocumentElement getElementById(java.lang.String ID)
          Returns a reference to the first object with the specified value of the ID attribute.
 DocumentElement[] getElementsByName(java.lang.String name)
          Returns a reference to the first object with the specified value of the NAME attribute.
 DocumentElement[] getElementsByTagName(java.lang.String tagName)
          Returns a reference to the first object with the specified value of the TAG.
 void getSelection()
          Not implemented
 void open()
          Not implemented
 void queryCommandEnabled()
          Not implemented
 void queryCommandIndeterm()
          Not implemented
 void queryCommandState()
          Not implemented
 void queryCommandSupported()
          Not implemented
 void queryCommandText()
          Not implemented
 void queryCommandValue()
          Not implemented
 void recalc()
          Not implemented
 void updateReferences()
           
 void write(java.lang.String content)
          Writes one or more HTML expressions to a document in the specified window.
 void writeln(java.lang.String content)
          Writes one or more HTML expressions to a document in the specified window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

form_name

public java.lang.String form_name

activeElement

public java.lang.String activeElement

alinkColor

public java.lang.String alinkColor

background

public java.lang.String background

bgColor

public java.lang.String bgColor

body

public java.lang.String body

characterset

public java.lang.String characterset

charset

public java.lang.String charset

cookie

public java.lang.String cookie

defaultCharset

public java.lang.String defaultCharset

designMode

public java.lang.String designMode

doctype

public java.lang.String doctype

documentElement

public java.lang.String documentElement

domain

public java.lang.String domain

expando

public java.lang.String expando

fgColor

public java.lang.String fgColor

fileCreatedDate

public java.lang.String fileCreatedDate

fileModifiedDate

public java.lang.String fileModifiedDate

fileSize

public java.lang.String fileSize

height

public java.lang.String height

implementation

public java.lang.String implementation

lastModified

public java.lang.String lastModified

linkColor

public java.lang.String linkColor

location

public java.lang.String location

parentWindow

public java.lang.String parentWindow

protocol

public java.lang.String protocol

readyState

public java.lang.String readyState

referrer

public java.lang.String referrer

selection

public java.lang.String selection

title

public java.lang.String title

uniqueID

public java.lang.String uniqueID

URL

public java.lang.String URL

vlinkColor

public java.lang.String vlinkColor

width

public java.lang.String width

all

public java.lang.String[] all
Not implemented


anchors

public java.lang.String[] anchors
Not implemented


applets

public java.lang.String[] applets
Not implemented


classes

public java.lang.String[] classes
Not implemented


embeds

public java.lang.String[] embeds
Not implemented


forms

public FormElement[] forms
Returns an array of form elements


frames

public java.lang.String[] frames
Not implemented


ids

public java.lang.String[] ids
Not implemented


images

public java.lang.String[] images
Not implemented


layers

public java.lang.String[] layers
Not implemented


links

public java.lang.String[] links
Not implemented


plugins

public java.lang.String[] plugins
Not implemented


scripts

public java.lang.String[] scripts

styleSheets

public java.lang.String[] styleSheets
Not implemented


tags

public java.lang.String[] tags
Not implemented

Constructor Detail

DocumentReference

public DocumentReference(HTMLBrowser htmlEditor)
Method Detail

updateReferences

public void updateReferences()

forms

public DocumentElement[] forms()

attachEvent

public void attachEvent()
Not implemented


clear

public void clear()
Not implemented


close

public void close()
Not implemented


contextual

public void contextual()

createAttribute

public void createAttribute()
Not implemented


createCDATASection

public void createCDATASection()
Not implemented


createComment

public void createComment()
Not implemented


createDocumentFragment

public void createDocumentFragment()

createElement

public void createElement()
Not implemented


createEntityReference

public void createEntityReference()
Not implemented


createProcessingInstruction

public void createProcessingInstruction()
Not implemented


createStyleSheet

public void createStyleSheet()
Not implemented


createTextNode

public void createTextNode()
Not implemented


detachEvent

public void detachEvent()
Not implemented


elementFromPoint

public void elementFromPoint()
Not implemented


execCommand

public void execCommand()
Not implemented


getSelection

public void getSelection()
Not implemented


open

public void open()
Not implemented


queryCommandEnabled

public void queryCommandEnabled()
Not implemented


queryCommandIndeterm

public void queryCommandIndeterm()
Not implemented


queryCommandState

public void queryCommandState()
Not implemented


queryCommandSupported

public void queryCommandSupported()
Not implemented


queryCommandText

public void queryCommandText()
Not implemented


queryCommandValue

public void queryCommandValue()
Not implemented


recalc

public void recalc()
Not implemented


write

public void write(java.lang.String content)
Writes one or more HTML expressions to a document in the specified window. Currently this is implemented to invoke insertContent(htmlContent) at the caret position. Future implementations will provide a better support for writing content dynamically.


writeln

public void writeln(java.lang.String content)
Writes one or more HTML expressions to a document in the specified window. Currently this is implemented to invoke insertContent(htmlContent) at the caret position. Future implementations will provide a better support for writing content dynamically.


getElementById

public DocumentElement getElementById(java.lang.String ID)
Returns a reference to the first object with the specified value of the ID attribute. This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1


getElementsByName

public DocumentElement[] getElementsByName(java.lang.String name)
Returns a reference to the first object with the specified value of the NAME attribute. This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1


getElementsByTagName

public DocumentElement[] getElementsByTagName(java.lang.String tagName)
Returns a reference to the first object with the specified value of the TAG. This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1