@Override public String getLiteral() { final StringBuilder builder = new StringBuilder(); final String tagsAsString = Joiner.on(" ").join(Iterables.transform(tags, Tag.FUNCTION_TOSOURCESTRING)); if (!StringUtils.isBlank(tagsAsString)) { builder.append(" "); builder.append(tagsAsString); builder.append("\n"); } if (!StringUtils.isBlank(markup.getLiteral())) { builder.append(markup.getLiteral()); builder.append(" "); } if (!StringUtils.isBlank(title.getLiteral())) { builder.append(title.getLiteral()); builder.append("\n\n"); } if (!StringUtils.isBlank(body.getLiteral())) { builder.append(body.getLiteral()); builder.append("\n\n"); } return builder.toString(); }