code: @Override
      public String getIndexName() {
          final NoteLink noteLink = noteLinkRenderer
                  .getGedObject();
          if (!noteLink.isSet()) {
              return "";
          }
          final Note note =
                  (Note) noteLink.find(noteLink.getToString());
          if (note == null) {
              // Prevents problems with malformed file
              return noteLink.getToString();
          }
          final NoteRenderer noteRenderer =
                  (NoteRenderer) new GedRendererFactory().create(note,
                          noteLinkRenderer.getRenderingContext());
          return noteRenderer.getIndexNameHtml();
      }
docs: {@inheritDoc}