code: public List<E> tokenize() {
      // System.out.println("tokenize called");
      List<E> result = new ArrayList<E>();
      while (hasNext()) {
        result.add(next());
      }
      return result;
    }
docs: Returns pieces of text in element as a List of tokens.
  
  @return A list of all tokens remaining in the underlying Reader