Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 62255 of NameList

  • Revision slug: DOM/NameList
  • Revision title: NameList
  • Revision id: 62255
  • Created:
  • Creator: Brettz9
  • Is current revision? No
  • Comment 52 words added, 13 words removed
Tags: 

Revision Content


Provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented.

See https://www.xulplanet.com/references/.../NameList.html

Properties

length (read-only)

Methods

Name Action Return
contains ( str )   Boolean
containsNS (namespaceURI, nameStr )   Boolean
getName ( idx )   DOMString
getNamespaceURI ( idx )   DOMString

 

Specification

 

Revision Source

<p><span style="color: rgb(255, 0, 0);"><br>
</span>Provides an abstraction for an ordered collection of name and namespace value pairs. Items can be accessed by a 0-based index. The DOM spec does not specify how the collection is to be implemented. </p>
<p>See <a class=" external" href="https://www.xulplanet.com/references/objref/NameList.html" rel="freelink">https://www.xulplanet.com/references/.../NameList.html</a></p>
<h3>Properties</h3>
<p><a class="internal" href="/En/DOM/NameList.length" title="En/DOM/NameList.length"><code>length</code></a> (read-only)</p>
<h3>Methods</h3>
<table border="1" cellpadding="1" cellspacing="1" style="width: 480px; height: 169px;"> <tbody> <tr> <td>Name</td> <td>Action</td> <td>Return</td> </tr> <tr> <td><code><a class="internal" href="/En/DOM/NameList.contains" title="En/DOM/NameList.contains">contains</a> ( str )</code></td> <td> </td> <td><code><a class="internal" href="/En/DOM/Boolean" title="En/DOM/Boolean">Boolean<br> </a></code></td> </tr> <tr> <td><code><a class="internal" href="/En/DOM/NameList.containsNS" title="En/DOM/NameList.containsNS">containsNS</a> (namespaceURI, nameStr )</code></td> <td> </td> <td><code><a class="internal" href="/En/DOM/Boolean" title="En/DOM/Boolean">Boolean</a><a class="internal" href="/En/DOM/Boolean" title="En/DOM/Boolean"><br> </a></code></td> </tr> <tr> <td><code><a class="internal" href="/En/DOM/NameList.getName" title="En/DOM/NameList.getName">getName</a> ( idx )</code></td> <td> </td> <td><code><a class="internal" href="/En/DOM/DOMString" title="En/DOM/DOMString">DOMString</a></code></td> </tr> <tr> <td><code><a class="internal" href="/En/DOM/NameList.getNamespaceURI" title="En/DOM/NameList.getNamespaceURI">getNamespaceURI</a> ( idx )</code></td> <td> </td> <td><code><a class="internal" href="/En/DOM/DOMString" title="En/DOM/DOMString">DOMString</a></code></td> </tr> </tbody>
</table>
<p> </p>
<h3>Specification</h3>
<ul> <li><a class=" external" href="https://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList" rel="freelink">https://www.w3.org/TR/DOM-Level-3-Cor....html#NameList</a></li>
</ul>
<p> </p>
Revert to this revision