org.apache.html.dom

Class HTMLTableElementImpl

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

public class HTMLTableElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLTableElement

Version:
$Revision: 329271 $ $Date: 2005-10-28 15:25:05 -0400 (Fri, 28 Oct 2005) $
Author:
Assaf Arkin
See Also:
org.w3c.dom.html.HTMLAnchorElement, 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

HTMLTableElementImpl(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 getRows() and getTBodies() gets cleared.
org.w3c.dom.html.HTMLElement
createCaption()
org.w3c.dom.html.HTMLElement
createTFoot()
org.w3c.dom.html.HTMLElement
createTHead()
void
deleteCaption()
void
deleteRow(int index)
void
deleteTFoot()
void
deleteTHead()
String
getAlign()
String
getBgColor()
String
getBorder()
org.w3c.dom.html.HTMLTableCaptionElement
getCaption()
String
getCellPadding()
String
getCellSpacing()
String
getFrame()
org.w3c.dom.html.HTMLCollection
getRows()
String
getRules()
String
getSummary()
org.w3c.dom.html.HTMLCollection
getTBodies()
org.w3c.dom.html.HTMLTableSectionElement
getTFoot()
org.w3c.dom.html.HTMLTableSectionElement
getTHead()
String
getWidth()
org.w3c.dom.html.HTMLElement
insertRow(int index)
void
setAlign(String align)
void
setBgColor(String bgColor)
void
setBorder(String border)
void
setCaption(org.w3c.dom.html.HTMLTableCaptionElement caption)
void
setCellPadding(String cellPadding)
void
setCellSpacing(String cellSpacing)
void
setFrame(String frame)
void
setRules(String rules)
void
setSummary(String summary)
void
setTFoot(org.w3c.dom.html.HTMLTableSectionElement tFoot)
void
setTHead(org.w3c.dom.html.HTMLTableSectionElement tHead)
void
setWidth(String width)

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

HTMLTableElementImpl

public HTMLTableElementImpl(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 getRows() and getTBodies() gets cleared.
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in interface org.apache.xerces.dom.ElementImpl

createCaption

public org.w3c.dom.html.HTMLElement createCaption()
Specified by:
createCaption in interface org.w3c.dom.html.HTMLTableElement

createTFoot

public org.w3c.dom.html.HTMLElement createTFoot()
Specified by:
createTFoot in interface org.w3c.dom.html.HTMLTableElement

createTHead

public org.w3c.dom.html.HTMLElement createTHead()
Specified by:
createTHead in interface org.w3c.dom.html.HTMLTableElement

deleteCaption

public void deleteCaption()
Specified by:
deleteCaption in interface org.w3c.dom.html.HTMLTableElement

deleteRow

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

deleteTFoot

public void deleteTFoot()
Specified by:
deleteTFoot in interface org.w3c.dom.html.HTMLTableElement

deleteTHead

public void deleteTHead()
Specified by:
deleteTHead in interface org.w3c.dom.html.HTMLTableElement

getAlign

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

getBgColor

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

getBorder

public String getBorder()
Specified by:
getBorder in interface org.w3c.dom.html.HTMLTableElement

getCaption

public org.w3c.dom.html.HTMLTableCaptionElement getCaption()
Specified by:
getCaption in interface org.w3c.dom.html.HTMLTableElement

getCellPadding

public String getCellPadding()
Specified by:
getCellPadding in interface org.w3c.dom.html.HTMLTableElement

getCellSpacing

public String getCellSpacing()
Specified by:
getCellSpacing in interface org.w3c.dom.html.HTMLTableElement

getFrame

public String getFrame()
Specified by:
getFrame in interface org.w3c.dom.html.HTMLTableElement

getRows

public org.w3c.dom.html.HTMLCollection getRows()
Specified by:
getRows in interface org.w3c.dom.html.HTMLTableElement

getRules

public String getRules()
Specified by:
getRules in interface org.w3c.dom.html.HTMLTableElement

getSummary

public String getSummary()
Specified by:
getSummary in interface org.w3c.dom.html.HTMLTableElement

getTBodies

public org.w3c.dom.html.HTMLCollection getTBodies()
Specified by:
getTBodies in interface org.w3c.dom.html.HTMLTableElement

getTFoot

public org.w3c.dom.html.HTMLTableSectionElement getTFoot()
Specified by:
getTFoot in interface org.w3c.dom.html.HTMLTableElement

getTHead

public org.w3c.dom.html.HTMLTableSectionElement getTHead()
Specified by:
getTHead in interface org.w3c.dom.html.HTMLTableElement

getWidth

public String getWidth()
Specified by:
getWidth in interface org.w3c.dom.html.HTMLTableElement

insertRow

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

setAlign

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

setBgColor

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

setBorder

public void setBorder(String border)
Specified by:
setBorder in interface org.w3c.dom.html.HTMLTableElement

setCaption

public void setCaption(org.w3c.dom.html.HTMLTableCaptionElement caption)
Specified by:
setCaption in interface org.w3c.dom.html.HTMLTableElement

setCellPadding

public void setCellPadding(String cellPadding)
Specified by:
setCellPadding in interface org.w3c.dom.html.HTMLTableElement

setCellSpacing

public void setCellSpacing(String cellSpacing)
Specified by:
setCellSpacing in interface org.w3c.dom.html.HTMLTableElement

setFrame

public void setFrame(String frame)
Specified by:
setFrame in interface org.w3c.dom.html.HTMLTableElement

setRules

public void setRules(String rules)
Specified by:
setRules in interface org.w3c.dom.html.HTMLTableElement

setSummary

public void setSummary(String summary)
Specified by:
setSummary in interface org.w3c.dom.html.HTMLTableElement

setTFoot

public void setTFoot(org.w3c.dom.html.HTMLTableSectionElement tFoot)
Specified by:
setTFoot in interface org.w3c.dom.html.HTMLTableElement

setTHead

public void setTHead(org.w3c.dom.html.HTMLTableSectionElement tHead)
Specified by:
setTHead in interface org.w3c.dom.html.HTMLTableElement

setWidth

public void setWidth(String width)
Specified by:
setWidth in interface org.w3c.dom.html.HTMLTableElement

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