code: public static void setParameter(final Element elem,
                                      final PropertySetter propSetter,
                                      final Properties props) {
          String name = subst(elem.getAttribute("name"), props);
          String value = (elem.getAttribute("value"));
          value = subst(OptionConverter.convertSpecialChars(value), props);
          propSetter.setProperty(name, value);
      }
docs: Sets a parameter based from configuration file content.
  
  @param elem       param element, may not be null.
  @param propSetter property setter, may not be null.
  @param props      properties
  @since 1.2.15