XMLNameList
classin packageklyn.io.xml.dom
public class XMLNameList extends Object implements NameList
└ 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
propertyInherited Properties from Object: type
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.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml