code: @Override
      public void endElement(String uri, String local, String raw) {
          logger.debug("end element: ", raw);
          if ("isotope".equals(local)) {
              if (workingIsotope != null) isotopes.add(workingIsotope);
              workingIsotope = null;
          } else if ("isotopeList".equals(local)) {
              currentElement = null;
          } else if ("scalar".equals(local)) {
              try {
                  if ("bo:exactMass".equals(dictRef)) {
                      workingIsotope.setExactMass(Double.parseDouble(currentChars));
                  } else if ("bo:atomicNumber".equals(dictRef)) {
                      workingIsotope.setAtomicNumber(Integer.parseInt(currentChars));
                  } else if ("bo:relativeAbundance".equals(dictRef)) {
                      workingIsotope.setNaturalAbundance(Double.parseDouble(currentChars));
                  }
              } catch (NumberFormatException exception) {
                  logger.error("The ", dictRef, " value is incorrect: ", currentChars);
                  logger.debug(exception);
              }
          }
      }
docs: {@inheritDoc}