code: protected void addNewField(Item item, String values) {
          if(logger.isDebugEnabled()) {
              logger.debug("Tagging item with field: " + newField + " and value: " + values);
          }
          Document document = item.getDescriptorDom();
          if(document != null) {
              Element root = document.getRootElement();
              if(root != null) {
                  for(String value : values.split(",")) {
                      Element newElement = root.addElement(newField);
                      newElement.setText(value);
                  }
              }
          }
      }
docs: Tags the item adding the new field with the specified values.
  @param item
  @param values