String (@NotNull Map<String, String> attributes, boolean hasChildren, int numberInIteration, int totalIterations, @Nullable String surroundedText) { StringBuilder result = new StringBuilder(); for (Map.Entry<String, String> entry : attributes.entrySet()) { String name = entry.getKey(); String value = ZenCodingUtil.getValue(entry.getValue(), numberInIteration, totalIterations, surroundedText); result.append(getAttributeString(name, value)); result.append(' '); } return result.toString().trim(); }