Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > 90467ea6a387df728f7218a11e972208 > files > 5926

kdelibs-apidocs-3.5.6-3.amd64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>khtml: DOM::DOMImplementation Class Reference (khtml)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">khtml</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.4.4 -->
<div class="nav">
<a class="el" href="namespaceDOM.html">DOM</a>::<a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a></div>
<h1>DOM::DOMImplementation Class Reference</h1><!-- doxytag: class="DOM::DOMImplementation" --><code>#include &lt;<a class="el" href="dom__doc_8h-source.html">dom_doc.h</a>&gt;</code>
<p>
<a href="classDOM_1_1DOMImplementation-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a></code> interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. 
<p>
<a class="el" href="namespaceDOM.html">DOM</a> Level 2 and newer provide means for creating documents directly, which was not possible with <a class="el" href="namespaceDOM.html">DOM</a> Level 1.
<p>

<p>
Definition at line <a class="el" href="dom__doc_8h-source.html#l00077">77</a> of file <a class="el" href="dom__doc_8h-source.html">dom_doc.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0"></a><!-- doxytag: member="DOM::DOMImplementation::DOMImplementation" ref="a0" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a0">DOMImplementation</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1"></a><!-- doxytag: member="DOM::DOMImplementation::DOMImplementation" ref="a1" args="(const DOMImplementation &amp;other)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a1">DOMImplementation</a> (const <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2"></a><!-- doxytag: member="DOM::DOMImplementation::operator=" ref="a2" args="(const DOMImplementation &amp;other)" -->
<a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a2">operator=</a> (const <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> &amp;other)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3"></a><!-- doxytag: member="DOM::DOMImplementation::~DOMImplementation" ref="a3" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a3">~DOMImplementation</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a4">hasFeature</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;feature, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;version)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a5">createDocumentType</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;qualifiedName, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;publicId, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;systemId)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1Document.html">Document</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a6">createDocument</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;namespaceURI, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;qualifiedName, const <a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a> &amp;doctype)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a7">getInterface</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;feature) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1CSSStyleSheet.html">CSSStyleSheet</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a8">createCSSStyleSheet</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;title, const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;media)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDOM_1_1HTMLDocument.html">HTMLDocument</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a9">createHTMLDocument</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;title)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a10"></a><!-- doxytag: member="DOM::DOMImplementation::handle" ref="a10" args="() const " -->
DOMImplementationImpl *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a10">handle</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a11"></a><!-- doxytag: member="DOM::DOMImplementation::isNull" ref="a11" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#a11">isNull</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0"></a><!-- doxytag: member="DOM::DOMImplementation::DOMImplementation" ref="b0" args="(DOMImplementationImpl *i)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#b0">DOMImplementation</a> (DOMImplementationImpl *i)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p0"></a><!-- doxytag: member="DOM::DOMImplementation::impl" ref="p0" args="" -->
DOMImplementationImpl *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#p0">impl</a></td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="n0"></a><!-- doxytag: member="DOM::DOMImplementation::Document" ref="n0" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1DOMImplementation.html#n0">Document</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a8"></a><!-- doxytag: member="DOM::DOMImplementation::createCSSStyleSheet" ref="a8" args="(const DOMString &amp;title, const DOMString &amp;media)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1CSSStyleSheet.html">CSSStyleSheet</a> DOM::DOMImplementation::createCSSStyleSheet           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>title</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>media</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2 This method is from the DOMImplementationCSS interface. 
<p>
Creates a new <a class="el" href="classDOM_1_1CSSStyleSheet.html">CSSStyleSheet</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>The advisory title. See also the Style Sheet Interfaces section.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>media</em>&nbsp;</td><td>The comma-separated list of media associated with the new style sheet. See also the Style Sheet Interfaces section.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A new CSS style sheet.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>SYNTAX_ERR,:</em>&nbsp;</td><td>Raised if the specified media string value has a syntax error and is unparsable.</td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00129">129</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="DOM::DOMImplementation::createDocument" ref="a6" args="(const DOMString &amp;namespaceURI, const DOMString &amp;qualifiedName, const DocumentType &amp;doctype)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1Document.html">Document</a> DOM::DOMImplementation::createDocument           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>namespaceURI</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>qualifiedName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>doctype</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Creates an XML <a class="el" href="classDOM_1_1Document.html">Document</a> object of the specified type with its document element. HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the document element to create.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the document element to be created.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>doctype</em>&nbsp;</td><td>The type of document to be created or null. When doctype is not null, its <a class="el" href="classDOM_1_1Node.html#a18">Node.ownerDocument</a> attribute is set to the document being created.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classDOM_1_1Document.html">Document</a> object.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.</td></tr>
  </table>
</dl>
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null, or if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace" [Namespaces].<p>
WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different document or was created from a different implementation.
<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00093">93</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="DOM::DOMImplementation::createDocumentType" ref="a5" args="(const DOMString &amp;qualifiedName, const DOMString &amp;publicId, const DOMString &amp;systemId)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a> DOM::DOMImplementation::createDocumentType           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>qualifiedName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>publicId</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>systemId</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2. 
<p>
Creates an empty <a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a> node. <a class="el" href="classDOM_1_1Entity.html">Entity</a> declarations and notations are not made available. <a class="el" href="classDOM_1_1Entity.html">Entity</a> reference expansions and default attribute additions do not occur. It is expected that a future version of the <a class="el" href="namespaceDOM.html">DOM</a> will provide a way for populating a <a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a>.<p>
HTML-only <a class="el" href="namespaceDOM.html">DOM</a> implementations do not need to implement this method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the document type to be created.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>publicId</em>&nbsp;</td><td>The external subset public identifier.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>The external subset system identifier.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classDOM_1_1DocumentType.html">DocumentType</a> node with <a class="el" href="classDOM_1_1Node.html#a18">Node.ownerDocument</a> set to null.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOM_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.</td></tr>
  </table>
</dl>
NAMESPACE_ERR: Raised if the qualifiedName is malformed.
<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00079">79</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="DOM::DOMImplementation::createHTMLDocument" ref="a9" args="(const DOMString &amp;title)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1HTMLDocument.html">HTMLDocument</a> DOM::DOMImplementation::createHTMLDocument           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>title</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 2 This method is from the HTMLDOMImplementation interface. 
<p>
Creates an <a class="el" href="classDOM_1_1HTMLDocument.html">HTMLDocument</a> with the minimal tree made of these elements: HTML,HEAD,TITLE and BODY. It extends the core interface which can be used to create an XHTML document by passing the XHTML namespace as the namespace for the root element.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>The title of the document to be set as the content of the TITLE element, through a child <a class="el" href="classDOM_1_1Text.html">Text</a> node.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the HTMLdocument</dd></dl>

<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00107">107</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="DOM::DOMImplementation::getInterface" ref="a7" args="(const DOMString &amp;feature) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> DOM::DOMImplementation::getInterface           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>feature</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Introduced in <a class="el" href="namespaceDOM.html">DOM</a> Level 3 This method makes available a DOMImplementation's specialized interface. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>The name of the feature requested (case-insensitive)</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Returns an alternate <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> which implements the specialized APIs of the specified feature, if any, or null if there is no alternate <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> object which implements interfaces associated with that feature. Any alternate <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> returned by this method must delegate to the primary core <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a> and not return results inconsistent with the primary <a class="el" href="classDOM_1_1DOMImplementation.html">DOMImplementation</a>.</dd></dl>

<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00121">121</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="DOM::DOMImplementation::hasFeature" ref="a4" args="(const DOMString &amp;feature, const DOMString &amp;version)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">bool DOM::DOMImplementation::hasFeature           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>feature</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>version</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Test if the <a class="el" href="namespaceDOM.html">DOM</a> implementation implements a specific feature. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>The package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive).</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>version</em>&nbsp;</td><td>This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return <code>true</code> .</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the feature is implemented in the specified version, <code>false</code> otherwise.</dd></dl>

<p>
Definition at line <a class="el" href="dom__doc_8cpp-source.html#l00071">71</a> of file <a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="dom__doc_8h-source.html">dom_doc.h</a><li><a class="el" href="dom__doc_8cpp-source.html">dom_doc.cpp</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>khtml</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="dirs.html">Directories</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classDOM_1_1AbstractView.html">dom::abstractview</option>,  <option value="classDOM_1_1Attr.html">dom::attr</option>,  <option value="classDOM_1_1CDATASection.html">dom::cdatasection</option>,  <option value="classDOM_1_1CharacterData.html">dom::characterdata</option>,  <option value="classDOM_1_1Comment.html">dom::comment</option>,  <option value="classDOM_1_1Counter.html">dom::counter</option>,  <option value="classDOM_1_1CSS2Azimuth.html">dom::css2azimuth</option>,  <option value="classDOM_1_1CSS2BackgroundPosition.html">dom::css2backgroundposition</option>,  <option value="classDOM_1_1CSS2BorderSpacing.html">dom::css2borderspacing</option>,  <option value="classDOM_1_1CSS2CounterIncrement.html">dom::css2counterincrement</option>,  <option value="classDOM_1_1CSS2CounterReset.html">dom::css2counterreset</option>,  <option value="classDOM_1_1CSS2Cursor.html">dom::css2cursor</option>,  <option value="classDOM_1_1CSS2FontFaceSrc.html">dom::css2fontfacesrc</option>,  <option value="classDOM_1_1CSS2FontFaceWidths.html">dom::css2fontfacewidths</option>,  <option value="classDOM_1_1CSS2PageSize.html">dom::css2pagesize</option>,  <option value="classDOM_1_1CSS2PlayDuring.html">dom::css2playduring</option>,  <option value="classDOM_1_1CSS2Properties.html">dom::css2properties</option>,  <option value="classDOM_1_1CSS2TextShadow.html">dom::css2textshadow</option>,  <option value="classDOM_1_1CSSCharsetRule.html">dom::csscharsetrule</option>,  <option value="classDOM_1_1CSSException.html">dom::cssexception</option>,  <option value="classDOM_1_1CSSFontFaceRule.html">dom::cssfontfacerule</option>,  <option value="classDOM_1_1CSSImportRule.html">dom::cssimportrule</option>,  <option value="classDOM_1_1CSSMediaRule.html">dom::cssmediarule</option>,  <option value="classDOM_1_1CSSPageRule.html">dom::csspagerule</option>,  <option value="classDOM_1_1CSSPrimitiveValue.html">dom::cssprimitivevalue</option>,  <option value="classDOM_1_1CSSRule.html">dom::cssrule</option>,  <option value="classDOM_1_1CSSRuleList.html">dom::cssrulelist</option>,  <option value="classDOM_1_1CSSStyleDeclaration.html">dom::cssstyledeclaration</option>,  <option value="classDOM_1_1CSSStyleRule.html">dom::cssstylerule</option>,  <option value="classDOM_1_1CSSStyleSheet.html">dom::cssstylesheet</option>,  <option value="classDOM_1_1CSSUnknownRule.html">dom::cssunknownrule</option>,  <option value="classDOM_1_1CSSValue.html">dom::cssvalue</option>,  <option value="classDOM_1_1CSSValueList.html">dom::cssvaluelist</option>,  <option value="classDOM_1_1CustomNodeFilter.html">dom::customnodefilter</option>,  <option value="classDOM_1_1Document.html">dom::document</option>,  <option value="classDOM_1_1DocumentFragment.html">dom::documentfragment</option>,  <option value="classDOM_1_1DocumentStyle.html">dom::documentstyle</option>,  <option value="classDOM_1_1DocumentType.html">dom::documenttype</option>,  <option value="classDOM_1_1DOMException.html">dom::domexception</option>,  <option value="classDOM_1_1DOMImplementation.html">dom::domimplementation</option>,  <option value="classDOM_1_1DomShared.html">dom::domshared</option>,  <option value="classDOM_1_1DOMString.html">dom::domstring</option>,  <option value="classDOM_1_1Element.html">dom::element</option>,  <option value="classDOM_1_1Entity.html">dom::entity</option>,  <option value="classDOM_1_1EntityReference.html">dom::entityreference</option>,  <option value="classDOM_1_1Event.html">dom::event</option>,  <option value="classDOM_1_1EventException.html">dom::eventexception</option>,  <option value="classDOM_1_1EventListener.html">dom::eventlistener</option>,  <option value="classDOM_1_1HTMLAnchorElement.html">dom::htmlanchorelement</option>,  <option value="classDOM_1_1HTMLAppletElement.html">dom::htmlappletelement</option>,  <option value="classDOM_1_1HTMLAreaElement.html">dom::htmlareaelement</option>,  <option value="classDOM_1_1HTMLBaseElement.html">dom::htmlbaseelement</option>,  <option value="classDOM_1_1HTMLBaseFontElement.html">dom::htmlbasefontelement</option>,  <option value="classDOM_1_1HTMLBlockquoteElement.html">dom::htmlblockquoteelement</option>,  <option value="classDOM_1_1HTMLBodyElement.html">dom::htmlbodyelement</option>,  <option value="classDOM_1_1HTMLBRElement.html">dom::htmlbrelement</option>,  <option value="classDOM_1_1HTMLButtonElement.html">dom::htmlbuttonelement</option>,  <option value="classDOM_1_1HTMLCollection.html">dom::htmlcollection</option>,  <option value="classDOM_1_1HTMLDirectoryElement.html">dom::htmldirectoryelement</option>,  <option value="classDOM_1_1HTMLDivElement.html">dom::htmldivelement</option>,  <option value="classDOM_1_1HTMLDListElement.html">dom::htmldlistelement</option>,  <option value="classDOM_1_1HTMLDocument.html">dom::htmldocument</option>,  <option value="classDOM_1_1HTMLElement.html">dom::htmlelement</option>,  <option value="classDOM_1_1HTMLFieldSetElement.html">dom::htmlfieldsetelement</option>,  <option value="classDOM_1_1HTMLFontElement.html">dom::htmlfontelement</option>,  <option value="classDOM_1_1HTMLFormCollection.html">dom::htmlformcollection</option>,  <option value="classDOM_1_1HTMLFormElement.html">dom::htmlformelement</option>,  <option value="classDOM_1_1HTMLFrameElement.html">dom::htmlframeelement</option>,  <option value="classDOM_1_1HTMLFrameSetElement.html">dom::htmlframesetelement</option>,  <option value="classDOM_1_1HTMLHeadElement.html">dom::htmlheadelement</option>,  <option value="classDOM_1_1HTMLHeadingElement.html">dom::htmlheadingelement</option>,  <option value="classDOM_1_1HTMLHRElement.html">dom::htmlhrelement</option>,  <option value="classDOM_1_1HTMLHtmlElement.html">dom::htmlhtmlelement</option>,  <option value="classDOM_1_1HTMLIFrameElement.html">dom::htmliframeelement</option>,  <option value="classDOM_1_1HTMLImageElement.html">dom::htmlimageelement</option>,  <option value="classDOM_1_1HTMLInputElement.html">dom::htmlinputelement</option>,  <option value="classDOM_1_1HTMLIsIndexElement.html">dom::htmlisindexelement</option>,  <option value="classDOM_1_1HTMLLabelElement.html">dom::htmllabelelement</option>,  <option value="classDOM_1_1HTMLLayerElement.html">dom::htmllayerelement</option>,  <option value="classDOM_1_1HTMLLegendElement.html">dom::htmllegendelement</option>,  <option value="classDOM_1_1HTMLLIElement.html">dom::htmllielement</option>,  <option value="classDOM_1_1HTMLLinkElement.html">dom::htmllinkelement</option>,  <option value="classDOM_1_1HTMLMapElement.html">dom::htmlmapelement</option>,  <option value="classDOM_1_1HTMLMappedNameCollection.html">dom::htmlmappednamecollection</option>,  <option value="classDOM_1_1HTMLMenuElement.html">dom::htmlmenuelement</option>,  <option value="classDOM_1_1HTMLMetaElement.html">dom::htmlmetaelement</option>,  <option value="classDOM_1_1HTMLModElement.html">dom::htmlmodelement</option>,  <option value="classDOM_1_1HTMLObjectElement.html">dom::htmlobjectelement</option>,  <option value="classDOM_1_1HTMLOListElement.html">dom::htmlolistelement</option>,  <option value="classDOM_1_1HTMLOptGroupElement.html">dom::htmloptgroupelement</option>,  <option value="classDOM_1_1HTMLOptionElement.html">dom::htmloptionelement</option>,  <option value="classDOM_1_1HTMLParagraphElement.html">dom::htmlparagraphelement</option>,  <option value="classDOM_1_1HTMLParamElement.html">dom::htmlparamelement</option>,  <option value="classDOM_1_1HTMLPreElement.html">dom::htmlpreelement</option>,  <option value="classDOM_1_1HTMLQuoteElement.html">dom::htmlquoteelement</option>,  <option value="classDOM_1_1HTMLScriptElement.html">dom::htmlscriptelement</option>,  <option value="classDOM_1_1HTMLSelectElement.html">dom::htmlselectelement</option>,  <option value="classDOM_1_1HTMLStyleElement.html">dom::htmlstyleelement</option>,  <option value="classDOM_1_1HTMLTableCaptionElement.html">dom::htmltablecaptionelement</option>,  <option value="classDOM_1_1HTMLTableCellElement.html">dom::htmltablecellelement</option>,  <option value="classDOM_1_1HTMLTableColElement.html">dom::htmltablecolelement</option>,  <option value="classDOM_1_1HTMLTableElement.html">dom::htmltableelement</option>,  <option value="classDOM_1_1HTMLTableRowElement.html">dom::htmltablerowelement</option>,  <option value="classDOM_1_1HTMLTableSectionElement.html">dom::htmltablesectionelement</option>,  <option value="classDOM_1_1HTMLTextAreaElement.html">dom::htmltextareaelement</option>,  <option value="classDOM_1_1HTMLTitleElement.html">dom::htmltitleelement</option>,  <option value="classDOM_1_1HTMLUListElement.html">dom::htmlulistelement</option>,  <option value="classDOM_1_1LinkStyle.html">dom::linkstyle</option>,  <option value="classDOM_1_1MediaList.html">dom::medialist</option>,  <option value="classDOM_1_1MouseEvent.html">dom::mouseevent</option>,  <option value="classDOM_1_1MutationEvent.html">dom::mutationevent</option>,  <option value="classDOM_1_1NamedNodeMap.html">dom::namednodemap</option>,  <option value="classDOM_1_1Node.html">dom::node</option>,  <option value="classDOM_1_1NodeFilter.html">dom::nodefilter</option>,  <option value="classDOM_1_1NodeIterator.html">dom::nodeiterator</option>,  <option value="classDOM_1_1NodeList.html">dom::nodelist</option>,  <option value="classDOM_1_1Notation.html">dom::notation</option>,  <option value="classDOM_1_1ProcessingInstruction.html">dom::processinginstruction</option>,  <option value="classDOM_1_1Range.html">dom::range</option>,  <option value="classDOM_1_1RangeException.html">dom::rangeexception</option>,  <option value="classDOM_1_1Rect.html">dom::rect</option>,  <option value="classDOM_1_1RGBColor.html">dom::rgbcolor</option>,  <option value="classDOM_1_1StyleSheet.html">dom::stylesheet</option>,  <option value="classDOM_1_1StyleSheetList.html">dom::stylesheetlist</option>,  <option value="classDOM_1_1Text.html">dom::text</option>,  <option value="classDOM_1_1TextEvent.html">dom::textevent</option>,  <option value="classDOM_1_1TreeWalker.html">dom::treewalker</option>,  <option value="classDOM_1_1UIEvent.html">dom::uievent</option>,  <option value="classDOMTreeView.html">domtreeview</option>,  <option value="classKHTMLFactory.html">khtmlfactory</option>,  <option value="classKHTMLImage.html">khtmlimage</option>,  <option value="classKHTMLImageBrowserExtension.html">khtmlimagebrowserextension</option>,  <option value="classKHTMLImageFactory.html">khtmlimagefactory</option>,  <option value="classKHTMLInfoDlg.html">khtmlinfodlg</option>,  <option value="classKHTMLPageCache.html">khtmlpagecache</option>,  <option value="classKHTMLPageCacheDelivery.html">khtmlpagecachedelivery</option>,  <option value="classKHTMLPart.html">khtmlpart</option>,  <option value="classKHTMLPartBrowserExtension.html">khtmlpartbrowserextension</option>,  <option value="classKHTMLPartBrowserHostExtension.html">khtmlpartbrowserhostextension</option>,  <option value="classKHTMLPartIface.html">khtmlpartiface</option>,  <option value="classKHTMLPopupGUIClient.html">khtmlpopupguiclient</option>,  <option value="classKHTMLPrintSettings.html">khtmlprintsettings</option>,  <option value="classKHTMLRun.html">khtmlrun</option>,  <option value="classKHTMLSettings.html">khtmlsettings</option>,  <option value="classKHTMLView.html">khtmlview</option>,  <option value="classKHTMLZoomFactorAction.html">khtmlzoomfactoraction</option>,  <option value="classKJSErrorDlg.html">kjserrordlg</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>