Package org.htmlunit.cyberneko.html.dom
Class HTMLTableElementImpl
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.dom.NodeImpl
-
- org.htmlunit.cyberneko.xerces.dom.ChildNode
-
- org.htmlunit.cyberneko.xerces.dom.ParentNode
-
- org.htmlunit.cyberneko.xerces.dom.ElementImpl
-
- org.htmlunit.cyberneko.html.dom.HTMLElementImpl
-
- org.htmlunit.cyberneko.html.dom.HTMLTableElementImpl
-
- All Implemented Interfaces:
Cloneable,Element,EventTarget,org.w3c.dom.html.HTMLElement,org.w3c.dom.html.HTMLTableElement,Node,NodeList,TypeInfo
public class HTMLTableElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLTableElement
- Author:
- Assaf Arkin
- See Also:
HTMLAnchorElement,ElementImpl
-
-
Field Summary
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ElementImpl
attributes_, name_
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
nextSibling_, previousSibling_
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, FIRSTCHILD, HASSTRING, ID, NORMALIZED, OWNED, ownerNode_, READONLY, SPECIFIED, SYNCCHILDREN
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
-
Constructor Summary
Constructors Constructor Description HTMLTableElementImpl(HTMLDocumentImpl owner, String name)Constructor requires owner document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodecloneNode(boolean deep)Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.org.w3c.dom.html.HTMLElementcreateCaption()org.w3c.dom.html.HTMLElementcreateTFoot()org.w3c.dom.html.HTMLElementcreateTHead()voiddeleteCaption()voiddeleteRow(int index)voiddeleteTFoot()voiddeleteTHead()StringgetAlign()StringgetBgColor()StringgetBorder()org.w3c.dom.html.HTMLTableCaptionElementgetCaption()StringgetCellPadding()StringgetCellSpacing()StringgetFrame()org.w3c.dom.html.HTMLCollectiongetRows()StringgetRules()StringgetSummary()org.w3c.dom.html.HTMLCollectiongetTBodies()org.w3c.dom.html.HTMLTableSectionElementgetTFoot()org.w3c.dom.html.HTMLTableSectionElementgetTHead()StringgetWidth()org.w3c.dom.html.HTMLElementinsertRow(int index)voidsetAlign(String align)voidsetBgColor(String bgColor)voidsetBorder(String border)voidsetCaption(org.w3c.dom.html.HTMLTableCaptionElement caption)voidsetCellPadding(String cellPadding)voidsetCellSpacing(String cellSpacing)voidsetFrame(String frame)voidsetRules(String rules)voidsetSummary(String summary)voidsetTFoot(org.w3c.dom.html.HTMLTableSectionElement tFoot)voidsetTHead(org.w3c.dom.html.HTMLTableSectionElement tHead)voidsetWidth(String width)-
Methods inherited from class org.htmlunit.cyberneko.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.htmlunit.cyberneko.xerces.dom.ElementImpl
getAttributes, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeEventListener, setNodeValue, setPrefix, 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.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
-
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.Node
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Constructor Detail
-
HTMLTableElementImpl
public HTMLTableElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.- Parameters:
owner- The owner HTML document
-
-
Method Detail
-
getCaption
public org.w3c.dom.html.HTMLTableCaptionElement getCaption()
- Specified by:
getCaptionin interfaceorg.w3c.dom.html.HTMLTableElement
-
setCaption
public void setCaption(org.w3c.dom.html.HTMLTableCaptionElement caption)
- Specified by:
setCaptionin interfaceorg.w3c.dom.html.HTMLTableElement
-
createCaption
public org.w3c.dom.html.HTMLElement createCaption()
- Specified by:
createCaptionin interfaceorg.w3c.dom.html.HTMLTableElement
-
deleteCaption
public void deleteCaption()
- Specified by:
deleteCaptionin interfaceorg.w3c.dom.html.HTMLTableElement
-
getTHead
public org.w3c.dom.html.HTMLTableSectionElement getTHead()
- Specified by:
getTHeadin interfaceorg.w3c.dom.html.HTMLTableElement
-
setTHead
public void setTHead(org.w3c.dom.html.HTMLTableSectionElement tHead)
- Specified by:
setTHeadin interfaceorg.w3c.dom.html.HTMLTableElement
-
createTHead
public org.w3c.dom.html.HTMLElement createTHead()
- Specified by:
createTHeadin interfaceorg.w3c.dom.html.HTMLTableElement
-
deleteTHead
public void deleteTHead()
- Specified by:
deleteTHeadin interfaceorg.w3c.dom.html.HTMLTableElement
-
getTFoot
public org.w3c.dom.html.HTMLTableSectionElement getTFoot()
- Specified by:
getTFootin interfaceorg.w3c.dom.html.HTMLTableElement
-
setTFoot
public void setTFoot(org.w3c.dom.html.HTMLTableSectionElement tFoot)
- Specified by:
setTFootin interfaceorg.w3c.dom.html.HTMLTableElement
-
createTFoot
public org.w3c.dom.html.HTMLElement createTFoot()
- Specified by:
createTFootin interfaceorg.w3c.dom.html.HTMLTableElement
-
deleteTFoot
public void deleteTFoot()
- Specified by:
deleteTFootin interfaceorg.w3c.dom.html.HTMLTableElement
-
getRows
public org.w3c.dom.html.HTMLCollection getRows()
- Specified by:
getRowsin interfaceorg.w3c.dom.html.HTMLTableElement
-
getTBodies
public org.w3c.dom.html.HTMLCollection getTBodies()
- Specified by:
getTBodiesin interfaceorg.w3c.dom.html.HTMLTableElement
-
getAlign
public String getAlign()
- Specified by:
getAlignin interfaceorg.w3c.dom.html.HTMLTableElement
-
setAlign
public void setAlign(String align)
- Specified by:
setAlignin interfaceorg.w3c.dom.html.HTMLTableElement
-
getBgColor
public String getBgColor()
- Specified by:
getBgColorin interfaceorg.w3c.dom.html.HTMLTableElement
-
setBgColor
public void setBgColor(String bgColor)
- Specified by:
setBgColorin interfaceorg.w3c.dom.html.HTMLTableElement
-
getBorder
public String getBorder()
- Specified by:
getBorderin interfaceorg.w3c.dom.html.HTMLTableElement
-
setBorder
public void setBorder(String border)
- Specified by:
setBorderin interfaceorg.w3c.dom.html.HTMLTableElement
-
getCellPadding
public String getCellPadding()
- Specified by:
getCellPaddingin interfaceorg.w3c.dom.html.HTMLTableElement
-
setCellPadding
public void setCellPadding(String cellPadding)
- Specified by:
setCellPaddingin interfaceorg.w3c.dom.html.HTMLTableElement
-
getCellSpacing
public String getCellSpacing()
- Specified by:
getCellSpacingin interfaceorg.w3c.dom.html.HTMLTableElement
-
setCellSpacing
public void setCellSpacing(String cellSpacing)
- Specified by:
setCellSpacingin interfaceorg.w3c.dom.html.HTMLTableElement
-
getFrame
public String getFrame()
- Specified by:
getFramein interfaceorg.w3c.dom.html.HTMLTableElement
-
setFrame
public void setFrame(String frame)
- Specified by:
setFramein interfaceorg.w3c.dom.html.HTMLTableElement
-
getRules
public String getRules()
- Specified by:
getRulesin interfaceorg.w3c.dom.html.HTMLTableElement
-
setRules
public void setRules(String rules)
- Specified by:
setRulesin interfaceorg.w3c.dom.html.HTMLTableElement
-
getSummary
public String getSummary()
- Specified by:
getSummaryin interfaceorg.w3c.dom.html.HTMLTableElement
-
setSummary
public void setSummary(String summary)
- Specified by:
setSummaryin interfaceorg.w3c.dom.html.HTMLTableElement
-
getWidth
public String getWidth()
- Specified by:
getWidthin interfaceorg.w3c.dom.html.HTMLTableElement
-
setWidth
public void setWidth(String width)
- Specified by:
setWidthin interfaceorg.w3c.dom.html.HTMLTableElement
-
insertRow
public org.w3c.dom.html.HTMLElement insertRow(int index)
- Specified by:
insertRowin interfaceorg.w3c.dom.html.HTMLTableElement
-
deleteRow
public void deleteRow(int index)
- Specified by:
deleteRowin interfaceorg.w3c.dom.html.HTMLTableElement
-
cloneNode
public Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getRows() and getTBodies() gets cleared.- Specified by:
cloneNodein interfaceNode- Overrides:
cloneNodein classElementImpl- See Also:
Node.cloneNode(boolean)
-
-