code: private void addToAttributes(final List<ApiAttribute> attributes) {
          for (final ApiObject object : attributes) {
              final ApiModelToGedObjectVisitor visitor = createVisitor();
              object.accept(visitor);
          }
      }
docs: Add to the attributes of the parent for saving.
  
  @param attributes some attributes to add to the list