You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/doc/classref/khtml/DOM.Document.html

293 lines
18 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class DOM.Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="wabbit dumphtml">
</head>
<body>
<h4>PyKDE - Python Bindings for KDE</h4>
<hr>
<table width="100%"><tr>
<td width ="70%">
<h1>class DOM.Document</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
<tr><td align="right"><a href="index.html">khtml Classes</a></td></tr>
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
</table>
</td>
</tr></table>
<table>
<tr><td width="10%" align=left>Module</td>
<td width="30%" align=left>khtml</td>
</tr>
<tr><td>Class</td>
<td>DOM.Document</td>
</tr>
<tr><td>Inherits</td>
<td>DOM.Node </td>
</tr>
</table>
<h3>methods</h3><ul>
<li><b>Document</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a Document instance</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>Document</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a Document instance</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>Document</b> (other)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a Document instance</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>other</td><td>DOM.Document</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>Document</b> (other)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a Document instance</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>other</td><td>DOM.Node</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>Document</b> (i)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>Document</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>abort</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addStyleSheet</b> (sheet)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>sheet</td><td>DOM.StyleSheet</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>async</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completeURL</b> (url)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DOMString)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>url</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createAttribute</b> (name)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Attr)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createAttributeNS</b> (namespaceURI, qualifiedName)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Attr)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>namespaceURI</td><td>DOM.DOMString</td><td></td></tr>
<tr><td>qualifiedName</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createCDATASection</b> (data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.CDATASection)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>data</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createComment</b> (data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Comment)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>data</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createDocumentFragment</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DocumentFragment)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createElement</b> (tagName)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Element)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>tagName</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createElementNS</b> (namespaceURI, qualifiedName)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Element)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>namespaceURI</td><td>DOM.DOMString</td><td></td></tr>
<tr><td>qualifiedName</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createEntityReference</b> (name)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.EntityReference)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>name</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createEvent</b> (eventType)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Event)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>eventType</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createNodeIterator</b> (root, whatToShow, filter, entityReferenceExpansion)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.NodeIterator)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>root</td><td>DOM.Node</td><td></td></tr>
<tr><td>whatToShow</td><td>ulong</td><td></td></tr>
<tr><td>filter</td><td>DOM.NodeFilter</td><td></td></tr>
<tr><td>entityReferenceExpansion</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createProcessingInstruction</b> (target, data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.ProcessingInstruction)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>target</td><td>DOM.DOMString</td><td></td></tr>
<tr><td>data</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createRange</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Range)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createTextNode</b> (data)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Text)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>data</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createTreeWalker</b> (root, whatToShow, filter, entityReferenceExpansion)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.TreeWalker)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>root</td><td>DOM.Node</td><td></td></tr>
<tr><td>whatToShow</td><td>ulong</td><td></td></tr>
<tr><td>filter</td><td>DOM.NodeFilter</td><td></td></tr>
<tr><td>entityReferenceExpansion</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>defaultView</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.AbstractView)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>designMode</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>doctype</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DocumentType)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>documentElement</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Element)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>getElementById</b> (elementId)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Element)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>elementId</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>getElementsByTagName</b> (tagname)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.NodeList)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>tagname</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>getElementsByTagNameNS</b> (namespaceURI, localName)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.NodeList)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>namespaceURI</td><td>DOM.DOMString</td><td></td></tr>
<tr><td>localName</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>getOverrideStyle</b> (elt, pseudoElt)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.CSSStyleDeclaration)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>elt</td><td>DOM.Element</td><td></td></tr>
<tr><td>pseudoElt</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>implementation</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DOMImplementation)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>importNode</b> (importedNode, deep)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.Node)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>importedNode</td><td>DOM.Node</td><td></td></tr>
<tr><td>deep</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>isHTMLDocument</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>load</b> (uri)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>uri</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>loadXML</b> (source)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>source</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>preferredStylesheetSet</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DOMString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>removeStyleSheet</b> (sheet)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>sheet</td><td>DOM.StyleSheet</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>selectedStylesheetSet</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DOMString)</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setAsync</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setDesignMode</b> (enable)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>enable</td><td>bool</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setSelectedStylesheetSet</b> (aString)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>aString</td><td>DOM.DOMString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>styleSheets</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.StyleSheetList)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>toString</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(DOM.DOMString)</i></td></tr>
<tr><td>In versions KDE 3.3.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>updateRendering</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>view</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KHTMLView)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
</ul>
</body>
</html>