Package org.htmlunit.cyberneko.html.dom
Class HTMLTableRowElementImpl
- 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.HTMLTableRowElementImpl
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.w3c.dom.Element
,org.w3c.dom.events.EventTarget
,org.w3c.dom.html.HTMLElement
,org.w3c.dom.html.HTMLTableRowElement
,org.w3c.dom.Node
,org.w3c.dom.NodeList
,org.w3c.dom.TypeInfo
public class HTMLTableRowElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLTableRowElement
- See Also:
HTMLTableRowElement
,ElementImpl
-
-
Field Summary
Fields Modifier and Type Field Description private org.w3c.dom.html.HTMLCollection
cells_
-
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
-
-
Constructor Summary
Constructors Constructor Description HTMLTableRowElementImpl(HTMLDocumentImpl owner, java.lang.String name)
Constructor requires owner document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.void
deleteCell(int index)
java.lang.String
getAlign()
java.lang.String
getBgColor()
org.w3c.dom.html.HTMLCollection
getCells()
java.lang.String
getCh()
java.lang.String
getChOff()
int
getRowIndex()
(package private) int
getRowIndex(org.w3c.dom.Node parent)
int
getSectionRowIndex()
java.lang.String
getVAlign()
org.w3c.dom.html.HTMLElement
insertCell(int index)
void
setAlign(java.lang.String align)
void
setBgColor(java.lang.String bgColor)
void
setCh(java.lang.String ch)
void
setChOff(java.lang.String chOff)
void
setVAlign(java.lang.String vAlign)
-
Methods inherited from class org.htmlunit.cyberneko.html.dom.HTMLElementImpl
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, 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
-
HTMLTableRowElementImpl
public HTMLTableRowElementImpl(HTMLDocumentImpl owner, java.lang.String name)
Constructor requires owner document.- Parameters:
owner
- The owner HTML document
-
-
Method Detail
-
getRowIndex
public int getRowIndex()
- Specified by:
getRowIndex
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getSectionRowIndex
public int getSectionRowIndex()
- Specified by:
getSectionRowIndex
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getRowIndex
int getRowIndex(org.w3c.dom.Node parent)
-
getCells
public org.w3c.dom.html.HTMLCollection getCells()
- Specified by:
getCells
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
insertCell
public org.w3c.dom.html.HTMLElement insertCell(int index)
- Specified by:
insertCell
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
deleteCell
public void deleteCell(int index)
- Specified by:
deleteCell
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getAlign
public java.lang.String getAlign()
- Specified by:
getAlign
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
setAlign
public void setAlign(java.lang.String align)
- Specified by:
setAlign
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getBgColor
public java.lang.String getBgColor()
- Specified by:
getBgColor
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
setBgColor
public void setBgColor(java.lang.String bgColor)
- Specified by:
setBgColor
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getCh
public java.lang.String getCh()
- Specified by:
getCh
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
setCh
public void setCh(java.lang.String ch)
- Specified by:
setCh
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getChOff
public java.lang.String getChOff()
- Specified by:
getChOff
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
setChOff
public void setChOff(java.lang.String chOff)
- Specified by:
setChOff
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
getVAlign
public java.lang.String getVAlign()
- Specified by:
getVAlign
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
setVAlign
public void setVAlign(java.lang.String vAlign)
- Specified by:
setVAlign
in interfaceorg.w3c.dom.html.HTMLTableRowElement
-
cloneNode
public org.w3c.dom.Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getCells() gets cleared.- Specified by:
cloneNode
in interfaceorg.w3c.dom.Node
- Overrides:
cloneNode
in classElementImpl
- See Also:
Node.cloneNode(boolean)
-
-