org.apache.html.dom

Class HTMLTableRowElementImpl

Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLTableRowElement, org.w3c.dom.TypeInfo

public class HTMLTableRowElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLTableRowElement

Version:
$Revision: 329271 $ $Date: 2005-10-28 15:25:05 -0400 (Fri, 28 Oct 2005) $
Author:
Assaf Arkin
See Also:
org.w3c.dom.html.HTMLTableRowElement, org.apache.xerces.dom.ElementImpl

Field Summary

Fields inherited from class org.apache.xerces.dom.ElementImpl

attributes, name

Fields inherited from class org.apache.xerces.dom.ParentNode

fNodeListCache, firstChild, ownerDocument

Fields inherited from interface org.w3c.dom.TypeInfo

DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION

Constructor Summary

HTMLTableRowElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

Method Summary

org.w3c.dom.Node
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.
void
deleteCell(int index)
String
getAlign()
String
getBgColor()
org.w3c.dom.html.HTMLCollection
getCells()
String
getCh()
String
getChOff()
int
getRowIndex()
int
getSectionRowIndex()
String
getVAlign()
org.w3c.dom.html.HTMLElement
insertCell(int index)
void
setAlign(String align)
void
setBgColor(String bgColor)
void
setCells(org.w3c.dom.html.HTMLCollection cells)
void
setCh(String ch)
void
setChOff(String chOff)
void
setRowIndex(int rowIndex)
void
setSectionRowIndex(int sectionRowIndex)
void
setVAlign(String vAlign)

Methods inherited from class org.apache.html.dom.HTMLElementImpl

getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Methods inherited from class org.apache.xerces.dom.ElementImpl

cloneNode, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getBaseURI, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setOwnerDocument, setReadOnly, setXercesAttributeNode, setupDefaultAttributes, synchronizeData

Methods inherited from class org.apache.xerces.dom.ParentNode

cloneNode, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, isEqualNode, item, normalize, removeChild, replaceChild, setOwnerDocument, setReadOnly, setTextContent, synchronizeChildren

Constructor Details

HTMLTableRowElementImpl

public HTMLTableRowElementImpl(HTMLDocumentImpl owner,
                               String name)
Constructor requires owner document.
Parameters:
owner - The owner HTML document

Method Details

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in interface org.apache.xerces.dom.ElementImpl

deleteCell

public void deleteCell(int index)
Specified by:
deleteCell in interface org.w3c.dom.html.HTMLTableRowElement

getAlign

public String getAlign()
Specified by:
getAlign in interface org.w3c.dom.html.HTMLTableRowElement

getBgColor

public String getBgColor()
Specified by:
getBgColor in interface org.w3c.dom.html.HTMLTableRowElement

getCells

public org.w3c.dom.html.HTMLCollection getCells()
Specified by:
getCells in interface org.w3c.dom.html.HTMLTableRowElement

getCh

public String getCh()
Specified by:
getCh in interface org.w3c.dom.html.HTMLTableRowElement

getChOff

public String getChOff()
Specified by:
getChOff in interface org.w3c.dom.html.HTMLTableRowElement

getRowIndex

public int getRowIndex()
Specified by:
getRowIndex in interface org.w3c.dom.html.HTMLTableRowElement

getSectionRowIndex

public int getSectionRowIndex()
Specified by:
getSectionRowIndex in interface org.w3c.dom.html.HTMLTableRowElement

getVAlign

public String getVAlign()
Specified by:
getVAlign in interface org.w3c.dom.html.HTMLTableRowElement

insertCell

public org.w3c.dom.html.HTMLElement insertCell(int index)
Specified by:
insertCell in interface org.w3c.dom.html.HTMLTableRowElement

setAlign

public void setAlign(String align)
Specified by:
setAlign in interface org.w3c.dom.html.HTMLTableRowElement

setBgColor

public void setBgColor(String bgColor)
Specified by:
setBgColor in interface org.w3c.dom.html.HTMLTableRowElement

setCells

public void setCells(org.w3c.dom.html.HTMLCollection cells)
Specified by:
setCells in interface org.w3c.dom.html.HTMLTableRowElement

setCh

public void setCh(String ch)
Specified by:
setCh in interface org.w3c.dom.html.HTMLTableRowElement

setChOff

public void setChOff(String chOff)
Specified by:
setChOff in interface org.w3c.dom.html.HTMLTableRowElement

setRowIndex

public void setRowIndex(int rowIndex)
Specified by:
setRowIndex in interface org.w3c.dom.html.HTMLTableRowElement

setSectionRowIndex

public void setSectionRowIndex(int sectionRowIndex)
Specified by:
setSectionRowIndex in interface org.w3c.dom.html.HTMLTableRowElement

setVAlign

public void setVAlign(String vAlign)
Specified by:
setVAlign in interface org.w3c.dom.html.HTMLTableRowElement

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.