XMLDOMStringList
class in package klyn.io.xml.dom

    public class XMLDOMStringList extends Object implements DOMStringList:

Object
└ XMLDOMStringList
All Implemented Interfaces: DOMStringList

Mutable implementation backing DOMStringList.

Example

    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.

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

Modifier and Type | Member | Description
--- | --- | ---
public | XMLDOMStringList `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.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml
method Inherited Methods from DOMStringList: contains, item