org.apache.html.dom
Class HTMLTableSectionElementImpl

java.lang.Object
  |
  +--org.apache.xerces.dom.NodeImpl
        |
        +--org.apache.xerces.dom.ChildNode
              |
              +--org.apache.xerces.dom.ParentNode
                    |
                    +--org.apache.xerces.dom.ElementImpl
                          |
                          +--org.apache.html.dom.HTMLElementImpl
                                |
                                +--org.apache.html.dom.HTMLTableSectionElementImpl
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLTableSectionElement, org.w3c.dom.Node, org.apache.xerces.dom3.Node3, org.w3c.dom.NodeList, java.io.Serializable

public class HTMLTableSectionElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLTableSectionElement

Version:
$Revision: 1.5 $ $Date: 2002/01/10 06:27:34 $
Author:
Assaf Arkin
See Also:
HTMLTableSectionElement, ElementImpl, Serialized Form

Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.apache.xerces.dom3.Node3
TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
Constructor Summary
HTMLTableSectionElementImpl(HTMLDocumentImpl owner, java.lang.String name)
          Constructor requires owner document.
 
Method Summary
 void deleteRow(int index)
          Delete a row from this section.
 java.lang.String getAlign()
          Horizontal alignment of data in cells.
 java.lang.String getCh()
          Alignment character for cells in a column.
 java.lang.String getChOff()
          Offset of alignment character.
 org.w3c.dom.html.HTMLCollection getRows()
          The collection of rows in this table section.
 java.lang.String getVAlign()
          Vertical alignment of data in cells.
 org.w3c.dom.html.HTMLElement insertRow(int index)
          Insert a row into this section.
 void setAlign(java.lang.String align)
           
 void setCh(java.lang.String ch)
           
 void setChOff(java.lang.String chOff)
           
 void setVAlign(java.lang.String vAlign)
           
 
Methods inherited from class org.apache.html.dom.HTMLElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttributes, getDefaultAttributes, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareTreePosition, dispatchEvent, getBaseURI, getInterface, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

HTMLTableSectionElementImpl

public HTMLTableSectionElementImpl(HTMLDocumentImpl owner,
                                   java.lang.String name)
Constructor requires owner document.
Parameters:
owner - The owner HTML document
Method Detail

getAlign

public java.lang.String getAlign()
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement for details.
Specified by:
getAlign in interface org.w3c.dom.html.HTMLTableSectionElement

setAlign

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

getCh

public java.lang.String getCh()
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Alignment character for cells in a column. See the char attribute definition in HTML 4.0.
Specified by:
getCh in interface org.w3c.dom.html.HTMLTableSectionElement

setCh

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

getChOff

public java.lang.String getChOff()
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Offset of alignment character. See the charoff attribute definition in HTML 4.0.
Specified by:
getChOff in interface org.w3c.dom.html.HTMLTableSectionElement

setChOff

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

getVAlign

public java.lang.String getVAlign()
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Vertical alignment of data in cells. See the valign attribute for HTMLTheadElement for details.
Specified by:
getVAlign in interface org.w3c.dom.html.HTMLTableSectionElement

setVAlign

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

getRows

public org.w3c.dom.html.HTMLCollection getRows()
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
The collection of rows in this table section.
Specified by:
getRows in interface org.w3c.dom.html.HTMLTableSectionElement

insertRow

public org.w3c.dom.html.HTMLElement insertRow(int index)
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
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.
Specified by:
insertRow in interface org.w3c.dom.html.HTMLTableSectionElement
Following copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Parameters:
index - 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:
The newly created row.
Throws:
org.w3c.dom.DOMException - INDEX_SIZE_ERR: Raised if the specified index is greater than the number of rows.

deleteRow

public void deleteRow(int index)
Description copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Delete a row from this section.
Specified by:
deleteRow in interface org.w3c.dom.html.HTMLTableSectionElement
Following copied from interface: org.w3c.dom.html.HTMLTableSectionElement
Parameters:
index - 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.
Throws:
org.w3c.dom.DOMException - INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the number of rows.


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.