return new HtmlText(string);
if (! isLink() || string == null) { return new HtmlText(string); } else { HtmlLink link = new HtmlLink();  if (getLinkText() == null) { link.setText(string); } else { link.setText(getLinkText()); }   if (string.matches("^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$")) { link.setUrl("mailto:" + string); } else { link.setUrl(string); }  return link; }
    protected Layout getLayout(Object object, Class type) {        return new Layout() {            @Override            public HtmlComponent createComponent(Object object, Class type) {                String string = (String) object;                                return new HtmlText(string);            }                    };    }