API / geotoolkit / report / dom / NamedItemMap / NamedItemMap
dom.NamedItemMap.NamedItemMap
The NamedItemMap interface represents a collection of Attribute objects.
Constructors
Accessors
Accessors
• get length(): number
Returns the amount of objects in the map.
Name
module:geotoolkit/report/dom/NamedItemMap~NamedItemMap#length
number
Methods
▸ getNamedItem(name): INamedItem
Returns a Attribute, corresponding to the given name.
| Name | Type | Description |
|---|---|---|
name | string | of named item |
▸ item(index): INamedItem
Returns the Attribute at the given index, or null if the index is higher or equal to the number of nodes.
| Name | Type | Description |
|---|---|---|
index | number | of named item |
▸ removeNamedItem(name): NamedItemMap
Removes the Attribute identified by the given map.
| Name | Type | Description |
|---|---|---|
name | string | named item name to remove |
▸ setNamedItem(namedItem): NamedItemMap
Replaces, or adds, the Attribute identified in the map by the given name.
| Name | Type | Description |
|---|---|---|
namedItem | INamedItem | named item |