37 #include <tdelibs_export.h>
50 class NamedNodeMapImpl;
81 unsigned long length()
const;
127 Node setNamedItem (
const Node &arg );
158 Node item (
unsigned long index )
const;
200 Node setNamedItemNS(
const Node &arg );
233 NamedNodeMapImpl *handle()
const {
return impl; }
234 bool isNull()
const {
return !impl; }
238 NamedNodeMapImpl *impl;
242 friend class NodeImpl;
288 Node( NodeImpl *_impl);
290 Node & operator = (
const Node &other);
292 bool operator == (
const Node &other)
const;
294 bool operator != (
const Node &other)
const;
389 CDATA_SECTION_NODE = 4,
390 ENTITY_REFERENCE_NODE = 5,
392 PROCESSING_INSTRUCTION_NODE = 7,
395 DOCUMENT_TYPE_NODE = 10,
396 DOCUMENT_FRAGMENT_NODE = 11,
432 unsigned short nodeType()
const;
442 Node parentNode()
const;
464 Node firstChild()
const;
471 Node lastChild()
const;
478 Node previousSibling()
const;
485 Node nextSibling()
const;
538 Node insertBefore (
const Node &newChild,
const Node &refChild );
568 Node replaceChild (
const Node &newChild,
const Node &oldChild );
585 Node removeChild (
const Node &oldChild );
613 Node appendChild (
const Node &newChild );
623 bool hasChildNodes ( );
645 Node cloneNode (
bool deep );
683 bool isSupported(
const DOMString &feature,
738 void setPrefix(
const DOMString &prefix );
755 bool hasAttributes ( );
783 void setTextContent(
const DOMString &content)
const;
813 void addEventListener(
const DOMString &type,
815 const bool useCapture);
842 void removeEventListener(
const DOMString &type,
869 bool dispatchEvent(
const Event &evt);
878 TQ_UINT32 elementId()
const;
897 NodeImpl *handle()
const {
return impl; }
902 unsigned long index()
const;
903 TQString toHTML() TDE_DEPRECATED;
908 void getCursor(
int offset,
int &_x,
int &_y,
int &height) TDE_DEPRECATED;
937 friend class KJS::HTMLDocument;
938 friend class KJS::Window;
953 unsigned long length()
const;
967 Node item (
unsigned long index )
const;
973 NodeListImpl *handle()
const {
return impl; }
974 bool isNull()
const {
return !impl; }
This class implements the basic string we use in the DOM.
Each Document has a doctype attribute whose value is either null or a DocumentType object.
The Document interface represents the entire HTML or XML document.
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Introduced in DOM Level 2.
Introduced in DOM Level 2.
An HTMLCollection is a list of nodes.
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can b...
The NodeList interface provides the abstraction of an ordered collection of nodes,...
The Node interface is the primary datatype for the entire Document Object Model.
NodeType
An integer indicating which type of node this is.
bool isNull() const
tests if this Node is 0.
The StyleSheet interface is the abstract base interface for any type of style sheet.
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
unsigned long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.