setAttribute

abstract fun setAttribute(tag: String, value: String)

Associates tag with value in the attributes of this feature. Removes all other associations with tag that may have existed prior.

Throws

if tag is "Parent". The "Parent" attribute is determined by the actual topology of the tree and cannot be directly modified.