OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 132 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 156
Line 57... Line 57...
57
        final LightUIStrippedImageLine line = (LightUIStrippedImageLine) element;
57
        final LightUIStrippedImageLine line = (LightUIStrippedImageLine) element;
58
        this.images = line.images;
58
        this.images = line.images;
59
    }
59
    }
60
 
60
 
61
    @Override
61
    @Override
62
    public JSONToLightUIConvertor getConvertor() {
-
 
63
        return new JSONToLightUIConvertor() {
-
 
64
            @Override
-
 
65
            public LightUIElement convert(final JSONObject json) {
-
 
66
                return new LightUIStrippedImageLine(json);
-
 
67
            }
-
 
68
        };
-
 
69
    }
-
 
70
 
-
 
71
    @Override
-
 
72
    public String getHTML() {
62
    public String getHTML() {
73
        StringBuilder b = new StringBuilder();
63
        StringBuilder b = new StringBuilder();
74
        for (LightUIImage image : this.images) {
64
        for (LightUIImage image : this.images) {
75
            b.append("<img src=\"");
65
            b.append("<img src=\"");
76
            b.append(image.getValue());
66
            b.append(image.getValue());