private String generateInfo(CmsObject cms, Locale locale) {

        StringBuffer infoHtml = new StringBuffer(128);
        infoHtml.append("<p>").append(CmsStringUtil.escapeHtml(m_user.getSimpleName())).append("</p>");
        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_user.getFirstname())) {
            infoHtml.append(CmsStringUtil.escapeHtml(m_user.getFirstname())).append("&nbsp;");
        }
        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_user.getLastname())) {
            infoHtml.append(CmsStringUtil.escapeHtml(m_user.getLastname()));
        }
        infoHtml.append(LINE_BREAK);
        return infoHtml.toString();
    }
private String generateInfo ( CmsObject cms , Locale locale ) { StringBuffer infoHtml = new StringBuffer ( 128 ) ; infoHtml . append ( "<p>" ) . append ( CmsStringUtil . escapeHtml ( m_user . getSimpleName ( ) ) ) . append ( "</p>" ) ; if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( m_user . getFirstname ( ) ) ) { infoHtml . append ( CmsStringUtil . escapeHtml ( m_user . getFirstname ( ) ) ) . append ( "&nbsp;" ) ; } if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( m_user . getLastname ( ) ) ) { infoHtml . append ( CmsStringUtil . escapeHtml ( m_user . getLastname ( ) ) ) ; } infoHtml . append ( LINE_BREAK ) ; return infoHtml . toString ( ) ; }
Generates the info data HTML.<p>

@param cms the cms context
@param locale the locale

@return the info data HTML