Dart API Referencedart:htmlNamedNodeMap

NamedNodeMap Interface

A collection of nodes returned by Element.attributes (also potentially for DocumentType.entities, DocumentType.notations). NamedNodeMaps are not in any particular order (unlike NodeList), although they may be accessed by an index as in an array (they may also be accessed with the item() method). A NamedNodeMap object are live and will thus be auto-updated if changes are made to their contents internally or elsewhere.

Extends

List<E>

Methods

Code Node getNamedItem(String name) #

Node getNamedItem(String name);

Code Node getNamedItemNS(String namespaceURI, String localName) #

Node getNamedItemNS(String namespaceURI, String localName);

Code Node item(int index) #

Node item(int index);

Code Node removeNamedItem(String name) #

Node removeNamedItem(String name);

Code Node removeNamedItemNS(String namespaceURI, String localName) #

Node removeNamedItemNS(String namespaceURI, String localName);

Code Node setNamedItem(Node node) #

Node setNamedItem(Node node);

Code Node setNamedItemNS(Node node) #

Node setNamedItemNS(Node node);

Fields

Code final int length #

final int length;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.