APISonar


com.vaadin.v7.shared.ui.label.ContentMode.XML

> com > vaadin > v7 > shared > ui > label > ContentMode > XML
com APIs vaadin APIs v7 APIs shared APIs ui APIs label APIs ContentMode APIs XML APIs

Example 1
private String getComparableValue() {
        String stringValue = getValue();
        if (stringValue == null) {
            stringValue = "";
        }

        if (getContentMode() == ContentMode.HTML
                || getContentMode() == ContentMode.XML) {
            return stripTags(stringValue);
        } else {
            return stringValue;
        }

    }