html_document.cpp
137 ((HTMLDocumentImpl *)impl)->setBody(static_cast<HTMLElementImpl *>(_body.handle()), exceptioncode);
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
Definition: html_document.h:74
HTMLCollection links() const
A collection of all AREA elements and anchor ( A ) elements in a document with a value for the href a...
Definition: html_document.cpp:161
void close()
Closes a document stream opened by open() and forces rendering.
Definition: html_document.cpp:210
HTMLCollection layers() const
A collection of all the layers of a document.
Definition: html_document.cpp:173
void writeln(const DOMString &text)
Write a string of text followed by a newline character to a document stream opened by open() .
Definition: html_document.cpp:222
DOMString domain() const
The domain name of the server that served the document, or a null string if the server cannot be iden...
Definition: html_document.cpp:109
HTMLCollection applets() const
A collection of all the OBJECT elements that include applets and APPLET ( deprecated ) elements in a ...
Definition: html_document.cpp:149
HTMLElement body() const
The element that contains the content for the document.
Definition: html_document.cpp:127
DOMString referrer() const
Returns the URI of the page that linked to this page.
Definition: html_document.cpp:96
HTMLCollection images() const
A collection of all the IMG elements in a document.
Definition: html_document.cpp:143
NodeList getElementsByName(const DOMString &elementName)
Returns the (possibly empty) collection of elements whose name value is given by elementName .
Definition: html_document.cpp:228
HTMLCollection forms() const
A collection of all the forms of a document.
Definition: html_document.cpp:167
DOMString title() const
The title of a document as specified by the TITLE element in the head of the document.
Definition: html_document.cpp:84
HTMLCollection anchors() const
A collection of all the anchor ( A ) elements in a document with a value for the name attribute.
Definition: html_document.cpp:179
DOMString completeURL(const DOMString &url) const
not part of the DOM
Definition: html_document.cpp:102
HTMLCollection scripts() const
A collection of all the scripts in the document.
Definition: html_document.cpp:155
void write(const DOMString &text)
Write a string of text to a document stream opened by open() .
Definition: html_document.cpp:216
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Definition: dom_node.h:932
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
unsigned short nodeType() const
A code representing the type of the underlying object, as defined above.
Definition: dom_node.cpp:199
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57