KHtml
dom_node.cpp
NodeList childNodes() const
A NodeList that contains all children of this node.
Definition: dom_node.cpp:258
Document ownerDocument() const
The Document object associated with this node.
Definition: dom_node.cpp:306
void removeEventListener(const DOMString &type, EventListener *listener, bool useCapture)
Introduced in DOM Level 2 This method is from the EventTarget interface.
Definition: dom_node.cpp:453
DOMString nodeValue() const
The value of this node, depending on its type; see the table above.
Definition: dom_node.cpp:218
KHTML_DEPRECATED void getCursor(int offset, int &_x, int &_y, int &height)
Definition: dom_node.cpp:544
bool hasChildNodes()
This is a convenience method to allow easy determination of whether a node has any children.
Definition: dom_node.cpp:375
static bool isDOMExceptionCode(int exceptioncode)
Definition: dom_node.cpp:689
Node replaceChild(const Node &newChild, const Node &oldChild)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
Definition: dom_node.cpp:327
bool dispatchEvent(const Event &evt)
Introduced in DOM Level 2 This method is from the EventTarget interface.
Definition: dom_node.cpp:463
Node removeNamedItemNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition: dom_node.cpp:140
Node appendChild(const Node &newChild)
Adds the node newChild to the end of the list of children of this node.
Definition: dom_node.cpp:354
This library provides a full-featured HTML parser and widget.
Node setNamedItem(const Node &arg)
Adds a node using its nodeName attribute.
Definition: dom_node.cpp:84
Node removeChild(const Node &oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
Definition: dom_node.cpp:340
DOMString nodeName() const
The name of this node, depending on its type; see the table above.
Definition: dom_node.cpp:210
Node removeNamedItem(const DOMString &name)
Removes a node specified by name.
Definition: dom_node.cpp:98
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
void addEventListener(const DOMString &type, EventListener *listener, const bool useCapture)
Introduced in DOM Level 2 This method is from the EventTarget interface.
Definition: dom_node.cpp:441
NamedNodeMap attributes() const
A NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise.
Definition: dom_node.cpp:298
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
Node cloneNode(bool deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
Definition: dom_node.cpp:383
Node getNamedItemNS(const DOMString &namespaceURI, const DOMString &localName) const
Introduced in DOM Level 2.
Definition: dom_node.cpp:119
Node getNamedItem(const DOMString &name) const
Retrieves a node specified by name.
Definition: dom_node.cpp:76
bool hasAttributes()
Returns whether this node (if it is an element) has any attributes.
Definition: dom_node.cpp:367
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Definition: dom_node.h:976
Node item(unsigned long index) const
Returns the index th item in the collection.
Definition: dom_node.cpp:606
Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can b...
Definition: dom_node.h:64
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:278
unsigned short nodeType() const
A code representing the type of the underlying object, as defined above.
Definition: dom_node.cpp:242
Node item(unsigned long index) const
Returns the index th item in the map.
Definition: dom_node.cpp:111
bool isSupported(const DOMString &feature, const DOMString &version) const
Introduced in DOM Level 2.
Definition: dom_node.cpp:399
Node insertBefore(const Node &newChild, const Node &refChild)
Inserts the node newChild before the existing child node refChild .
Definition: dom_node.cpp:314
unsigned compareDocumentPosition(const DOM::Node &other)
Introduced in DOM Level 3.
Definition: dom_node.cpp:501
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:06:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:06:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.