org.apache.html.dom

Class HTMLTableElementImpl

Implemented Interfaces:
Element, HTMLElement, HTMLTableElement, TypeInfo

public class HTMLTableElementImpl
extends HTMLElementImpl
implements HTMLTableElement

Version:
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
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

Constructor Summary

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

Method Summary

Node
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.
HTMLElement
createCaption()
HTMLElement
createTFoot()
HTMLElement
createTHead()
void
deleteCaption()
void
deleteRow(int index)
void
deleteTFoot()
void
deleteTHead()
String
getAlign()
String
getBgColor()
String
getBorder()
HTMLTableCaptionElement
getCaption()
String
getCellPadding()
String
getCellSpacing()
String
getFrame()
HTMLCollection
getRows()
String
getRules()
String
getSummary()
HTMLCollection
getTBodies()
HTMLTableSectionElement
getTFoot()
HTMLTableSectionElement
getTHead()
String
getWidth()
HTMLElement
insertRow(int index)
void
setAlign(String align)
void
setBgColor(String bgColor)
void
setBorder(String border)
void
setCaption(HTMLTableCaptionElement caption)
void
setCellPadding(String cellPadding)
void
setCellSpacing(String cellSpacing)
void
setFrame(String frame)
void
setRules(String rules)
void
setSummary(String summary)
void
setTFoot(HTMLTableSectionElement tFoot)
void
setTHead(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 Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.
Overrides:
cloneNode in interface org.apache.xerces.dom.ElementImpl

createCaption

public HTMLElement createCaption()

createTFoot

public HTMLElement createTFoot()

createTHead

public HTMLElement createTHead()

deleteCaption

public void deleteCaption()

deleteRow

public void deleteRow(int index)

deleteTFoot

public void deleteTFoot()

deleteTHead

public void deleteTHead()

getAlign

public String getAlign()

getBgColor

public String getBgColor()

getBorder

public String getBorder()

getCaption

public HTMLTableCaptionElement getCaption()

getCellPadding

public String getCellPadding()

getCellSpacing

public String getCellSpacing()

getFrame

public String getFrame()

getRows

public HTMLCollection getRows()

getRules

public String getRules()

getSummary

public String getSummary()

getTBodies

public HTMLCollection getTBodies()

getTFoot

public HTMLTableSectionElement getTFoot()

getTHead

public HTMLTableSectionElement getTHead()

getWidth

public String getWidth()

insertRow

public HTMLElement insertRow(int index)

setAlign

public void setAlign(String align)

setBgColor

public void setBgColor(String bgColor)

setBorder

public void setBorder(String border)

setCaption

public void setCaption(HTMLTableCaptionElement caption)

setCellPadding

public void setCellPadding(String cellPadding)

setCellSpacing

public void setCellSpacing(String cellSpacing)

setFrame

public void setFrame(String frame)

setRules

public void setRules(String rules)

setSummary

public void setSummary(String summary)

setTFoot

public void setTFoot(HTMLTableSectionElement tFoot)

setTHead

public void setTHead(HTMLTableSectionElement tHead)

setWidth

public void setWidth(String width)

Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.