public String toString()
    {
        StringBuilder html = new StringBuilder();
        if ( sb.length() > 0 )
        {
            int len = sb.length();
            if ( sb.charAt(0)==' ' )
                sb.replace(0,1,"&nbsp;");
            if ( sb.charAt(len-1)==' ' )
                sb.replace(len-1,len,"&nbsp;");
        }
        html.append("{ ");
        if ( this.className != null )
        {
            html.append("<span \"class\"=\"");
            html.append( className );
            html.append("\">");
        }
        html.append( sb.toString());
        if ( this.className != null )
            html.append("</span>");
        return html.toString();
    }