KHTML
Go to the documentation of this file.
26 #include "xml/dom_docimpl.h"
27 #include "xml/dom_elementimpl.h"
28 #include "xml/dom2_eventsimpl.h"
30 #include <QtCore/QRect>
69 return impl->getNamedItem(name);
76 int exceptioncode = 0;
77 Node r =
impl->setNamedItem(arg, exceptioncode);
86 int exceptioncode = 0;
87 Node r =
impl->removeNamedItem(name, exceptioncode);
96 return impl->item(index);
102 return impl->getNamedItemNS(namespaceURI, localName);
108 int exceptioncode = 0;
109 Node r =
impl->setNamedItemNS(arg, exceptioncode);
118 int exceptioncode = 0;
119 Node r =
impl->removeNamedItemNS(namespaceURI, localName, exceptioncode);
128 return impl->length();
187 int exceptioncode = 0;
188 if(
impl)
impl->setNodeValue( _str,exceptioncode );
196 return impl->nodeType();
202 return impl->parentNode();
208 return impl->childNodes();
214 return impl->firstChild();
220 return impl->lastChild();
226 return impl->previousSibling();
232 return impl->nextSibling();
237 if (!
impl || !
impl->isElementNode())
return 0;
243 if (!
impl || !
impl->ownerDocument())
245 return impl->ownerDocument();
251 int exceptioncode = 0;
252 NodeImpl *r =
impl->insertBefore( newChild.
impl, refChild.
impl, exceptioncode );
261 int exceptioncode = 0;
262 impl->replaceChild( newChild.
impl, oldChild.
impl, exceptioncode );
271 int exceptioncode = 0;
272 impl->removeChild( oldChild.
impl, exceptioncode );
282 int exceptioncode = 0;
283 NodeImpl *r =
impl->appendChild( newChild.
impl, exceptioncode );
292 return impl->hasAttributes();
297 if (!
impl)
return false;
298 return impl->hasChildNodes();
304 return impl->cloneNode( deep ).get();
316 return NodeImpl::isSupported(feature, version);
322 return impl->namespaceURI();
328 return impl->prefix();
334 int exceptioncode = 0;
335 impl->setPrefix(prefix,exceptioncode);
343 return impl->localName();
348 const bool useCapture)
352 impl->addEventListener(EventName::fromString(type),listener,useCapture);
360 impl->removeEventListener(EventName::fromString(type),listener,useCapture);
371 int exceptioncode = 0;
372 impl->dispatchEvent(evt.
handle(),exceptioncode);
375 return !evt.
handle()->defaultPrevented();
381 return impl->textContent();
387 int exceptioncode = 0;
388 impl->setTextContent(content, exceptioncode);
397 return impl->compareDocumentPosition(other.
impl);
409 return impl->nodeIndex();
412 #ifndef KDE_NO_DEPRECATED
416 return impl->toString().string();
423 impl->recalcStyle( NodeImpl::Inherit );
426 #ifndef KDE_NO_DEPRECATED
431 impl->getCaret(offset,
false, _x, _y, dummy, height);
438 return impl->getRect();
456 impl =
const_cast<NodeListImpl *
>(i);
478 return impl->item(index);
484 return impl->length();
500 return DOMString(
"DOMSTRING_SIZE_ERR" );
502 return DOMString(
"HIERARCHY_REQUEST_ERR" );
504 return DOMString(
"WRONG_DOCUMENT_ERR" );
506 return DOMString(
"INVALID_CHARACTER_ERR" );
508 return DOMString(
"NO_DATA_ALLOWED_ERR" );
510 return DOMString(
"NO_MODIFICATION_ALLOWED_ERR" );
516 return DOMString(
"INUSE_ATTRIBUTE_ERR" );
522 return DOMString(
"INVALID_MODIFICATION_ERR" );
526 return DOMString(
"INVALID_ACCESS_ERR" );
540 return DOMString(
"QUOTA_EXCEEDED_ERR" );
550 return DOMString(
"(unknown exception code)" );
556 return exceptioncode < 100;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon May 5 2014 18:19:18 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.