code: public CmsLinkBean getLinkBean() {
  
          String link = m_textbox.getText();
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(link)) {
              return null;
          }
          return new CmsLinkBean(m_textbox.getText(), m_internal);
      }
docs: Returns the selected link as a bean.<p>
  
  @return the selected link as a bean