
com.vaadin.ui.renderers.HtmlRenderer Maven / Gradle / Ivy
/*
* Vaadin Framework 7
*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.ui.renderers;
import com.vaadin.ui.Grid.AbstractRenderer;
import elemental.json.JsonValue;
/**
* A renderer for presenting HTML content.
*
* @author Vaadin Ltd
* @since 7.4
*/
public class HtmlRenderer extends AbstractRenderer {
/**
* Creates a new HTML renderer.
*
* @param nullRepresentation
* the html representation of {@code null} value
*/
public HtmlRenderer(String nullRepresentation) {
super(String.class, nullRepresentation);
}
/**
* Creates a new HTML renderer.
*/
public HtmlRenderer() {
this("");
}
@Override
public String getNullRepresentation() {
return super.getNullRepresentation();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy