sferyx.javascript.browserengine
Class DocumentElement

java.lang.Object
  extended by sferyx.javascript.browserengine.DocumentElement
Direct Known Subclasses:
FormElement

public class DocumentElement
extends java.lang.Object

This class represents a single element within the document. Through the getAttributes() method or attributes[] property easily can be accessed all element attributes as strings.


Field Summary
 java.lang.String[] all
          Not implemented
 ElementAttribute[] attributes
           
 java.lang.String[] behaviorUrns
          Not implemented
 boolean canHaveChildren
          Creates a new instance of DocumentElement
 boolean canHaveHTML
           
 java.lang.String[] childNodes
          Not implemented
 java.lang.String[] children
          Not implemented
 java.lang.String className
           
 java.lang.String clientHeight
          Not implemented
 java.lang.String clientLeft
          Not implemented
 java.lang.String clientTop
          Not implemented
 java.lang.String clientWidth
          Not implemented
 java.lang.String contentEditable
          Not implemented
 java.lang.String currentStyle
          Not implemented
 java.lang.String dir
          Not implemented
 java.lang.String document
          Not implemented
 javax.swing.text.AbstractDocument.AbstractElement element
           
 java.lang.String[] filters
          Not implemented
 java.lang.String firstChild
          Not implemented
 java.lang.String hideFocus
          Not implemented
 java.lang.String id
           
 java.lang.String innerHTML
          Not implemented
 java.lang.String innerText
          Not implemented
 java.lang.String isContentEditable
          Not implemented
 java.lang.String isDisabled
          Not implemented
 java.lang.String isTextEdit
          Not implemented
 java.lang.String lang
          Not implemented
 java.lang.String language
          Not implemented
 java.lang.String lastChild
          Not implemented
 java.lang.String nextSibling
          Not implemented
 java.lang.String nodeName
           
 int nodeType
           
 java.lang.String nodeValue
           
 java.lang.String offsetHeight
          Not implemented
 java.lang.String offsetLeft
          Not implemented
 java.lang.String offsetParent
          Not implemented
 java.lang.String offsetTop
          Not implemented
 java.lang.String offsetWidth
          Not implemented
 java.lang.String onevent
          Not implemented
 java.lang.String outerHTML
          Not implemented
 java.lang.String outerText
          Not implemented
 java.lang.String ownerDocument
          Not implemented
 java.lang.String parentElement
          Not implemented
 java.lang.String parentNode
          Not implemented
 java.lang.String parentTextEdit
          Not implemented
 java.lang.String previousSibling
          Not implemented
 java.lang.String readyState
          Not implemented
 java.lang.String runtimeStyle
          Not implemented
 java.lang.String scopeName
          Not implemented
 java.lang.String scrollHeight
          Not implemented
 java.lang.String scrollLeft
          Not implemented
 java.lang.String scrollTop
          Not implemented
 java.lang.String scrollWidth
          Not implemented
 java.lang.String sourceIndex
          Not implemented
 java.lang.String style
           
 java.lang.String tagName
           
 java.lang.String tagUrn
          Not implemented
 java.lang.String title
           
 java.lang.String uniqueID
           
 
Constructor Summary
DocumentElement(javax.swing.text.AbstractDocument.AbstractElement element)
           
 
Method Summary
 java.lang.String getAttribute(java.lang.String attributeName)
          Returns the value of given attribute.
 ElementAttribute[] getAttributes()
          Returns an array containing the element attributes.
 java.lang.String toString()
          Will print the element as attribute name value pairs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

canHaveChildren

public boolean canHaveChildren
Creates a new instance of DocumentElement


canHaveHTML

public boolean canHaveHTML

className

public java.lang.String className

clientHeight

public java.lang.String clientHeight
Not implemented


clientLeft

public java.lang.String clientLeft
Not implemented


clientTop

public java.lang.String clientTop
Not implemented


clientWidth

public java.lang.String clientWidth
Not implemented


contentEditable

public java.lang.String contentEditable
Not implemented


currentStyle

public java.lang.String currentStyle
Not implemented


dir

public java.lang.String dir
Not implemented


document

public java.lang.String document
Not implemented


firstChild

public java.lang.String firstChild
Not implemented


hideFocus

public java.lang.String hideFocus
Not implemented


id

public java.lang.String id

innerHTML

public java.lang.String innerHTML
Not implemented


innerText

public java.lang.String innerText
Not implemented


isContentEditable

public java.lang.String isContentEditable
Not implemented


isDisabled

public java.lang.String isDisabled
Not implemented


isTextEdit

public java.lang.String isTextEdit
Not implemented


lang

public java.lang.String lang
Not implemented


language

public java.lang.String language
Not implemented


lastChild

public java.lang.String lastChild
Not implemented


nextSibling

public java.lang.String nextSibling
Not implemented


nodeName

public java.lang.String nodeName

nodeType

public int nodeType

nodeValue

public java.lang.String nodeValue

offsetHeight

public java.lang.String offsetHeight
Not implemented


offsetLeft

public java.lang.String offsetLeft
Not implemented


offsetParent

public java.lang.String offsetParent
Not implemented


offsetTop

public java.lang.String offsetTop
Not implemented


offsetWidth

public java.lang.String offsetWidth
Not implemented


onevent

public java.lang.String onevent
Not implemented


outerHTML

public java.lang.String outerHTML
Not implemented


outerText

public java.lang.String outerText
Not implemented


ownerDocument

public java.lang.String ownerDocument
Not implemented


parentElement

public java.lang.String parentElement
Not implemented


parentNode

public java.lang.String parentNode
Not implemented


parentTextEdit

public java.lang.String parentTextEdit
Not implemented


previousSibling

public java.lang.String previousSibling
Not implemented


readyState

public java.lang.String readyState
Not implemented


runtimeStyle

public java.lang.String runtimeStyle
Not implemented


scopeName

public java.lang.String scopeName
Not implemented


scrollHeight

public java.lang.String scrollHeight
Not implemented


scrollLeft

public java.lang.String scrollLeft
Not implemented


scrollTop

public java.lang.String scrollTop
Not implemented


scrollWidth

public java.lang.String scrollWidth
Not implemented


sourceIndex

public java.lang.String sourceIndex
Not implemented


style

public java.lang.String style

tagName

public java.lang.String tagName

title

public java.lang.String title

uniqueID

public java.lang.String uniqueID

tagUrn

public java.lang.String tagUrn
Not implemented


all

public java.lang.String[] all
Not implemented


attributes

public ElementAttribute[] attributes

behaviorUrns

public java.lang.String[] behaviorUrns
Not implemented


childNodes

public java.lang.String[] childNodes
Not implemented


children

public java.lang.String[] children
Not implemented


filters

public java.lang.String[] filters
Not implemented


element

public javax.swing.text.AbstractDocument.AbstractElement element
Constructor Detail

DocumentElement

public DocumentElement(javax.swing.text.AbstractDocument.AbstractElement element)
Method Detail

getAttributes

public ElementAttribute[] getAttributes()
Returns an array containing the element attributes. The array contains ElementAttribute objects and all values and names are converted in strings through the nodeName and nodeValue properties on order to be easily accessible


getAttribute

public java.lang.String getAttribute(java.lang.String attributeName)
Returns the value of given attribute. All is provided as non case sensitive strings in order to simplify oerations. Will return null if no such attribute is presented


toString

public java.lang.String toString()
Will print the element as attribute name value pairs.

Overrides:
toString in class java.lang.Object