Query the attributes defined on this Element.
In the base implementation this Map simply contains Attribute objects
representing the defaults. In a more serious implementation, it would
contain AttributeDefinitionImpl objects for all declared Attributes,
indicating which are Default, DefaultFixed, Implicit and/or Required.
if (needsSyncChildren()) {
synchronizeChildren();
}
return attributes;