default String transformAttributes(Generator gen, T model) {
        return gen.onEach(model.attributes()).collect(joinIfNotEmpty(" ", " ", ""));
    }
@author Per Minborg
@param <T>  the type of the main view
common-parent/codegenxml/src/main/java/com/speedment/common/codegenxml/internal/view/trait/HasAttributesView.java