code: public final String getAttribute(final BodyQName attr) {
          Map<BodyQName, String> attrs = getAttributes();
          return attrs.get(attr);
      }
docs: Get the value of the specified attribute.
  
  @param attr name of the attribute to retriece
  @return attribute value, or {@code null} if not defined