code: public JQMListItem removeHref() {
          if (anchor == null) return this;
  
          if (anchorPanel != null) {
              List<Widget> lst = new ArrayList<Widget>();
              for (int i = anchorPanel.getWidgetCount() - 1; i >= 0; i--) {
                  Widget w = anchorPanel.getWidget(i);
                  anchorPanel.remove(i);
                  lst.add(0, w);
              }
              remove(anchorPanel);
              cleanUpLI();
              for (Widget w : lst) this.add(w);
          } else {
              moveAnchorChildrenToThis();
              getElement().removeChild(anchor);
          }
          anchor = null;
          anchorPanel = null;
          setSplitHref(null);
          return this;
      }
docs: Remove the url from this list item changing the item into a read only
  item.