code: public void put(String id, Object value) {
  
      Object old = this.id2valueMap.put(id, value);
      if ((old != null) && (old != value)) {
        this.duplicateIdErrors.add(this.bundle.errorDuplicateObjectWithKey(value, id));
      }
    }
docs: This method {@link com.sun.xml.bind.IDResolver#bind(String, Object) binds} the given {@code value} with the given
  {@code id}.
  
  @param id is the {@link javax.xml.bind.annotation.XmlID}.
  @param value is the JAXB bean to bind.