XMLNameList
classin packageklyn.io.xml.dom
public class XMLNameList extends Object implements NameList:
└ XMLNameList
All Implemented Interfaces: NameList

Mutable implementation backing DOM NameList.

@example `klyn 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.
Properties inherited from Object: type
Properties inherited from NameList: length
Constructors
Modifier and Type Member Description
public 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.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from NameList: contains, containsNS, getName, getNamespaceURI