code: private Set<String> addEntityAttributes(
          CmsObject cms,
          CmsXmlContent content,
          String parentPath,
          CmsEntity entity,
          Locale contentLocale) {
  
          Set<String> fieldsSet = Sets.newHashSet();
          addEntityAttributes(cms, content, parentPath, entity, contentLocale, fieldsSet);
          return fieldsSet;
      }
docs: Adds the attribute values of the entity to the given XML content.<p>
  
  @param cms the current cms context
  @param content the XML content
  @param parentPath the parent path
  @param entity the entity
  @param contentLocale the content locale
  
  @return the set of xpaths of simple fields in the XML content which were set by this method