code: public List<Option> getItems() {
          List<Option> selectedItems = new ArrayList<>(0);
          NodeList<OptionElement> items = selectElement.getOptions();
          for (int i = 0; i < items.getLength(); i++) {
              OptionElement item = items.getItem(i);
              Option option = itemMap.get(item);
              if (option != null)
                  selectedItems.add(option);
          }
          return selectedItems;
      }
docs: Returns the item list.
  
  @return the item list