KHtml
dom_element.cpp
167 // ### getAttribute() and getAttributeNS() are supposed to return the empty string if the attribute
299 static_cast<ElementImpl *>(impl)->setAttributeNS(namespaceURI, qualifiedName, value, exceptioncode);
327 Attr r = static_cast<ElementImpl *>(impl)->getAttributeNodeNS(namespaceURI, localName, exceptioncode);
Element lastElementChild() const
Introduced in DOM level 3 This method is part of the ElementTraversal interface.
Definition: dom_element.cpp:401
bool isNull() const const
bool specified() const
If this attribute was explicitly given a value in the original document, this is true ; otherwise,...
Definition: dom_element.cpp:80
QChar::Category category() const const
Attr getAttributeNodeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition: dom_element.cpp:319
unsigned long childElementCount() const
Introduced in DOM level 3 This method is part of the ElementTraversal interface.
Definition: dom_element.cpp:425
Mark_SpacingCombining
The CSSStyleDeclaration interface represents a single CSS declaration block .
Definition: css_value.h:59
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: dom_element.h:212
DOMString value() const
On retrieval, the value of the attribute is returned as a string.
Definition: dom_element.cpp:96
bool isDigit() const const
Element form() const
KHTML extension to DOM This method returns the associated form element.
Definition: dom_element.cpp:371
Attr setAttributeNodeNS(const Attr &newAttr)
Introduced in DOM Level 2.
Definition: dom_element.cpp:334
This library provides a full-featured HTML parser and widget.
The Attr interface represents an attribute in an Element object.
Definition: dom_element.h:89
bool isLetter() const const
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:165
bool hasAttribute(const DOMString &name)
Returns true when an attribute with a given name is specified on this element or has a default value,...
Definition: dom_element.cpp:346
void setAttributeNS(const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value)
Introduced in DOM Level 2.
Definition: dom_element.cpp:290
NodeList querySelectorAll(const DOMString &query) const
Introduced in Selectors Level 1.
Definition: dom_element.cpp:446
NodeList getElementsByTagNameNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2 Returns a NodeList of all the descendant Elements with a given local name a...
Definition: dom_element.cpp:258
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
bool isEmpty() const const
int length() const const
void removeAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition: dom_element.cpp:305
Attr removeAttributeNode(const Attr &oldAttr)
Removes the specified attribute.
Definition: dom_element.cpp:234
void removeAttribute(const DOMString &name)
Removes an attribute by name.
Definition: dom_element.cpp:192
Element querySelector(const DOMString &query) const
Introduced in Selectors Level 1.
Definition: dom_element.cpp:433
bool hasAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition: dom_element.cpp:354
Element previousElementSibling() const
Introduced in DOM level 3 This method is part of the ElementTraversal interface.
Definition: dom_element.cpp:409
NodeList getElementsByClassName(const DOMString &className)
Introduced in HTML 5.
Definition: dom_element.cpp:267
CSSStyleDeclaration style()
Introduced in DOM Level 2 This method is from the CSSStyleDeclaration interface.
Definition: dom_element.cpp:385
DOMString getAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition: dom_element.cpp:275
QString name(StandardShortcut id)
Attr getAttributeNode(const DOMString &name)
Retrieves an Attr node by name.
Definition: dom_element.cpp:206
Element nextElementSibling() const
Introduced in DOM level 3 This method is part of the ElementTraversal interface.
Definition: dom_element.cpp:417
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Definition: dom_node.h:976
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:278
Element firstElementChild() const
Introduced in DOM level 3 This method is part of the ElementTraversal interface.
Definition: dom_element.cpp:393
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition: dom_element.cpp:180
NodeList getElementsByTagName(const DOMString &name)
Returns a NodeList of all descendant elements with a given tag name, in the order in which they would...
Definition: dom_element.cpp:250
ushort unicode() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat May 28 2022 04:11:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat May 28 2022 04:11:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.