getNamespacedAttributes method Null safety

Map<String, String> getNamespacedAttributes (
  1. String namespace
)

Gets a map for manipulating the attributes of a particular namespace.

This is primarily useful for SVG attributes such as xref:link.

Implementation

Map<String, String> getNamespacedAttributes(String namespace) {
  return new _NamespacedAttributeMap(this, namespace);
}