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

Mutable implementation backing DOMStringList.

@example `klyn import klyn.io.xml.dom

names = XMLDOMStringList() names.add("comments") print(names.contains("comments"))

Properties
Modifier and Type Member Description
public readonly property length
length as Int:
No summary.
Properties inherited from Object: type
Properties inherited from DOMStringList: length
Constructors
Modifier and Type Member Description
public XMLDOMStringList Creates an empty string list.
Methods
Modifier and Type Member Description
public add
add(str as String) as Void:
Adds a string when it is not already present.
public contains
contains(str as String) as Boolean:
No summary.
public item
item(index as Int) as String:
No summary.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from DOMStringList: contains, item