Top Fields Constructors Methods
org.apache.html.dom

public Class HTMLTableSectionElementImpl

extends HTMLElementImpl
implements HTMLTableSectionElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLTableSectionElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.Node, org.w3c.dom.html.HTMLCollection, .HTMLElement, .HTMLTableRowElement, .HTMLTableSectionElement

Author
Assaf Arkin
Version
$Revision: 1029415 $ $Date: 2010-10-31 22:32:22 +0530 (Sun, 31 Oct 2010) $
See Also
org.w3c.dom.html.HTMLTableSectionElement, org.apache.xerces.dom.ElementImpl

Field Summary

Modifier and TypeField and Description
private HTMLCollectionImpl
private static final long

Constructor Summary

AccessConstructor and Description
public
HTMLTableSectionElementImpl(HTMLDocumentImpl
The owner HTML document
owner
,
String name)

Constructor requires owner document.

Method Summary

Modifier and TypeMethod and Description
public Node
cloneNode(boolean
If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).
deep
)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

Explicit implementation of cloneNode() to ensure that cache used for getRows() gets cleared.
public void
deleteRow(int
The index of the row to be deleted. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.
index
)

Implements org.w3c.dom.html.HTMLTableSectionElement.deleteRow.

Delete a row from this section.
pack-priv int
deleteRowX(int index)

public String
getAlign()

Implements org.w3c.dom.html.HTMLTableSectionElement.getAlign.

Horizontal alignment of data in cells.
public String
getCh()

Implements org.w3c.dom.html.HTMLTableSectionElement.getCh.

Alignment character for cells in a column.
public String
getChOff()

Implements org.w3c.dom.html.HTMLTableSectionElement.getChOff.

Offset of alignment character.
public HTMLCollection
getRows()

Implements org.w3c.dom.html.HTMLTableSectionElement.getRows.

The collection of rows in this table section.
public String
getVAlign()

Implements org.w3c.dom.html.HTMLTableSectionElement.getVAlign.

Vertical alignment of data in cells.
public HTMLElement
insertRow(int
The row number where to insert a new row. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.
index
)

Implements org.w3c.dom.html.HTMLTableSectionElement.insertRow.

Insert a row into this section.
pack-priv int
public void
public void
public void
public void
Inherited from org.apache.html.dom.HTMLElementImpl:
capitalizegetAttributegetAttributeNodegetAttributeNodeNSgetAttributeNSgetBinarygetCapitalizedgetClassNamegetDirgetElementsByTagNamegetElementsByTagNameNSgetFormgetIdgetIntegergetLanggetTitlesetAttributesetClassNamesetDirsetIdsetLangsetTitle

Field Detail

_rowsback to summary
private HTMLCollectionImpl _rows
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.html.dom.HTMLElementImpl.serialVersionUID.

Constructor Detail

HTMLTableSectionElementImplback to summary
public HTMLTableSectionElementImpl(HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner:HTMLDocumentImpl

The owner HTML document

Method Detail

cloneNodeback to summary
public Node cloneNode(boolean deep)

Overrides org.apache.xerces.dom.ElementImpl.cloneNode.

Implements org.w3c.dom.Node.cloneNode.

Explicit implementation of cloneNode() to ensure that cache used for getRows() gets cleared.

Parameters
deep:boolean

Doc from org.w3c.dom.Node.cloneNode.

If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).

Returns:Node

Doc from org.w3c.dom.Node.cloneNode.

The duplicate node.

deleteRowback to summary
public void deleteRow(int index)

Implements org.w3c.dom.html.HTMLTableSectionElement.deleteRow.

Doc from org.w3c.dom.html.HTMLTableSectionElement.deleteRow.

Delete a row from this section.

Parameters
index:int

The index of the row to be deleted. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.

deleteRowXback to summary
pack-priv int deleteRowX(int index)
getAlignback to summary
public String getAlign()

Implements org.w3c.dom.html.HTMLTableSectionElement.getAlign.

Doc from org.w3c.dom.html.HTMLTableSectionElement.getAlign.

Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement for details.

getChback to summary
public String getCh()

Implements org.w3c.dom.html.HTMLTableSectionElement.getCh.

Doc from org.w3c.dom.html.HTMLTableSectionElement.getCh.

Alignment character for cells in a column. See the char attribute definition in HTML 4.0.

getChOffback to summary
public String getChOff()

Implements org.w3c.dom.html.HTMLTableSectionElement.getChOff.

Doc from org.w3c.dom.html.HTMLTableSectionElement.getChOff.

Offset of alignment character. See the charoff attribute definition in HTML 4.0.

getRowsback to summary
public HTMLCollection getRows()

Implements org.w3c.dom.html.HTMLTableSectionElement.getRows.

Doc from org.w3c.dom.html.HTMLTableSectionElement.getRows.

The collection of rows in this table section.

getVAlignback to summary
public String getVAlign()

Implements org.w3c.dom.html.HTMLTableSectionElement.getVAlign.

Doc from org.w3c.dom.html.HTMLTableSectionElement.getVAlign.

Vertical alignment of data in cells. See the valign attribute for HTMLTheadElement for details.

insertRowback to summary
public HTMLElement insertRow(int index)

Implements org.w3c.dom.html.HTMLTableSectionElement.insertRow.

Doc from org.w3c.dom.html.HTMLTableSectionElement.insertRow.

Insert a row into this section. The new row is inserted immediately before the current index th row in this section. If index is equal to the number of rows in this section, the new row is appended.

Parameters
index:int

The row number where to insert a new row. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.

Returns:HTMLElement

The newly created row.

insertRowXback to summary
pack-priv int insertRowX(int index, HTMLTableRowElementImpl newRow)
setAlignback to summary
public void setAlign(String align)

Implements org.w3c.dom.html.HTMLTableSectionElement.setAlign.

setChback to summary
public void setCh(String ch)

Implements org.w3c.dom.html.HTMLTableSectionElement.setCh.

setChOffback to summary
public void setChOff(String chOff)

Implements org.w3c.dom.html.HTMLTableSectionElement.setChOff.

setVAlignback to summary
public void setVAlign(String vAlign)

Implements org.w3c.dom.html.HTMLTableSectionElement.setVAlign.