code: public Chunk create(final String text, final String in1, final String in2,
              final String in3) {
  
          Chunk chunk = new Chunk(text);
          String tag = "idx_" + (indexcounter++);
          chunk.setGenericTag(tag);
          chunk.setLocalDestination(tag);
          Entry entry = new Entry(in1, in2, in3, tag);
          indexentry.add(entry);
          return chunk;
      }
docs: Create an index entry.
  
  @param text  The text for the Chunk.
  @param in1   The first level.
  @param in2   The second level.
  @param in3   The third level.
  @return Returns the Chunk.