org.kde.koala

Class HTMLElement

public class HTMLElement extends Element

All HTML element interfaces derive from this class. Elements that only expose the HTML core attributes are represented by the base HTMLElement interface. These elements are as follows: \li HEAD
  • special
  • : SUB, SUP, SPAN, BDO
  • font
  • : TT, I, B, U, S, STRIKE, BIG, SMALL
  • phrase
  • : EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR
  • list
  • : DD, DT \li NOFRAMES, NOSCRIPT \li ADDRESS, CENTER Note: The style attribute for this interface is reserved for future usage.

    UNKNOWN: All HTML element interfaces derive from this class.

    Constructor Summary
    protected HTMLElement(Class dummy)
    HTMLElement()
    HTMLElement(HTMLElement other)
    HTMLElement(Node other)
    Method Summary
    voidaddCSSProperty(String property, String value)
    HTMLCollectionall()
    Retrieves a collection of all nodes that descend from this node.
    protected voidassignOther(Node other, int elementId)
    HTMLCollectionchildren()
    Retrieves a collection of nodes that are direct descendants of this node.
    StringclassName()
    The class attribute of the element.
    Stringdir()
    Specifies the base direction of directionally neutral text and the directionality of tables.
    Stringid()
    The element's identifier.
    StringinnerHTML()
    The HTML code contained in this element.
    StringinnerText()
    The text contained in this element.
    Stringlang()
    Language code defined in RFC 1766.
    voidremoveCSSProperty(String property)
    voidsetClassName(String arg1)
    see className
    voidsetDir(String arg1)
    see dir
    voidsetId(String arg1)
    see id
    voidsetInnerHTML(String html)
    Set the HTML content of this node.
    voidsetInnerText(String text)
    Set the text content of this node.
    voidsetLang(String arg1)
    see lang
    voidsetTitle(String arg1)
    see title
    Stringtitle()
    The element's advisory title.

    Constructor Detail

    HTMLElement

    protected HTMLElement(Class dummy)

    HTMLElement

    public HTMLElement()

    HTMLElement

    public HTMLElement(HTMLElement other)

    HTMLElement

    public HTMLElement(Node other)

    Method Detail

    addCSSProperty

    public void addCSSProperty(String property, String value)

    all

    public HTMLCollection all()
    Retrieves a collection of all nodes that descend from this node. IE-specific extension.

    UNKNOWN: Retrieves a collection of all nodes that descend from this node.

    assignOther

    protected void assignOther(Node other, int elementId)

    children

    public HTMLCollection children()
    Retrieves a collection of nodes that are direct descendants of this node. IE-specific extension.

    UNKNOWN: Retrieves a collection of nodes that are direct descendants of this node.

    className

    public String className()
    The class attribute of the element. This attribute has been renamed due to conflicts with the "class" keyword exposed by many languages. See the class attribute definition in HTML 4.0.

    UNKNOWN: The class attribute of the element.

    dir

    public String dir()
    Specifies the base direction of directionally neutral text and the directionality of tables. See the dir attribute definition in HTML 4.0.

    UNKNOWN: Specifies the base direction of directionally neutral text and the directionality of tables.

    id

    public String id()
    The element's identifier. See the id attribute definition in HTML 4.0.

    UNKNOWN: The element's identifier.

    innerHTML

    public String innerHTML()
    The HTML code contained in this element. This function is not part of the DOM specifications as defined by the w3c.

    UNKNOWN: The HTML code contained in this element.

    innerText

    public String innerText()
    The text contained in this element. This function is not part of the DOM specifications as defined by the w3c.

    UNKNOWN: The text contained in this element.

    lang

    public String lang()
    Language code defined in RFC 1766. See the lang attribute definition in HTML 4.0.

    UNKNOWN: Language code defined in RFC 1766.

    removeCSSProperty

    public void removeCSSProperty(String property)

    setClassName

    public void setClassName(String arg1)
    see className

    UNKNOWN: see className

    setDir

    public void setDir(String arg1)
    see dir

    UNKNOWN: see dir

    setId

    public void setId(String arg1)
    see id

    UNKNOWN: see id

    setInnerHTML

    public void setInnerHTML(String html)
    Set the HTML content of this node.

    UNKNOWN: Set the HTML content of this node.

    setInnerText

    public void setInnerText(String text)
    Set the text content of this node.

    UNKNOWN: Set the text content of this node.

    setLang

    public void setLang(String arg1)
    see lang

    UNKNOWN: see lang

    setTitle

    public void setTitle(String arg1)
    see title

    UNKNOWN: see title

    title

    public String title()
    The element's advisory title. See the title attribute definition in HTML 4.0.

    UNKNOWN: The element's advisory title.