KmlNonSchemaData

The KML simple fields and key/value pairs obtained from the node's non-schema data.

Since

200.5.0

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The key-value pairs obtained from the node's non-schema data.

Link copied to clipboard

The collection of KML simple fields representing the non-schema data.

Functions

Link copied to clipboard
fun addField(field: KmlSimpleField, attributeValue: Any)

Adds the given field with an attribute value.

fun addField(name: String, attributeValue: String)

Adds the given field as string type with an attribute value.

Link copied to clipboard

Returns the KML simple field object with the given name, or null if no such field exists.

Link copied to clipboard
fun removeField(name: String)

Removes the attribute corresponding to the provided field name from KmlNonSchemaData.attributes and the corresponding field from KmlNonSchemaData.fields.

Link copied to clipboard
fun setAttributeValue(attributeName: String, attributeValue: Any?)

Sets the value of an existing attribute. Object type must match the type of the attribute. Use String for untyped attributes.