class HtmlImageActionCreator {

    public static Element getImageActionElement(String imageActionStringRepresentation) {
        return new Element(Tag.valueOf("a"), "")
                .attr("href", imageActionStringRepresentation)
                .appendChild(
                        new Element(Tag.valueOf("img"), "")
                                .attr("src", imageActionStringRepresentation));
    }

}