code: public String getParameterValue(String name) {
          NodeList parms = node.getChildNodes();
  
          for (int i = 0; i < parms.getLength(); i++) {
              Element parm = (Element) parms.item(i);
              if (parm.getTagName().equals(Constants.ELM_PARAMETER)) {
                  String parmName = parm.getAttribute(Constants.ATT_NAME);
                  if (parmName.equals(name)) {
                      return parm.getAttribute(Constants.ATT_VALUE);
                  }
              }
          }
          // if we get here then neither the fragment  nor the channel definition
          // provided this parameter
          return null;
      }
docs: Returns the value of an parameter or null if such a parameter is not defined on the
  underlying channel element.