default Optional<String> transformValue(T model) {
        return model.getValue().map(s -> s
            .replace("&", "&amp;")
            .replace(">", "&gt;")
            .replace("<", "&lt;")
            .replace("\"", "&quot;"));
    }
@author Per Minborg
@param <T>  the type of the main view
common-parent/codegenxml/src/main/java/com/speedment/common/codegenxml/internal/view/trait/HasValueView.java