XMLNameList
class in package klyn.io.xml.dom

    public class XMLNameList extends Object implements NameList:

Object
└ XMLNameList
All Implemented Interfaces: NameList

Mutable implementation backing DOM `NameList`.

Example

    import klyn.io.xml.dom

    names = XMLNameList()
    names.add(null, "item")
    print(names.contains("item"))

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | length `length as Int:` | No summary.

Inherited Properties
property Inherited Properties from Object: type
property Inherited Properties from NameList: length
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | XMLNameList `XMLNameList():` | Creates an empty name list.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | add `add(namespaceURI as String, name as String) as Void:` | Adds a namespace/name pair when it is not already present.
public | contains `contains(str as String) as Boolean:` | No summary.
public | containsNS `containsNS(namespaceURI as String, name as String) as Boolean:` | No summary.
public | getName `getName(index as Int) as String:` | No summary.
public | getNamespaceURI `getNamespaceURI(index as Int) as String:` | No summary.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml
method Inherited Methods from NameList: contains, containsNS, getName, getNamespaceURI