code: private Node[] processIndexString(final String theIndexString, final List<Node> contents, final Document theTargetDocument, final IndexEntryFoundListener theIndexEntryFoundListener) {
          final IndexEntry[] indexEntries = IndexStringProcessor.processIndexString(theIndexString, contents);
  
  
          for (final IndexEntry indexEntrie : indexEntries) {
              theIndexEntryFoundListener.foundEntry(indexEntrie);
          }
  
          return transformToNodes(indexEntries, theTargetDocument, null);
      }
docs: Processes index string and creates nodes with "prefix" in given "namespace_url" from the parsed index entry text.
  
  @param theIndexString             index string
  param contents index contents
  @param theTargetDocument          target document to create new nodes
  @param theIndexEntryFoundListener listener to notify that new index entry was found
  @return the array of nodes after processing index string