attributes property

LinkedHashMap<Object, String> attributes
getter/setter pair

A map holding name, value pairs for attributes of the node.

Note that attribute order needs to be stable for serialization, so we use a LinkedHashMap. Each key is a String or AttributeName.

Implementation

LinkedHashMap<Object, String> attributes = LinkedHashMap();