code: private Map<String, CharSequence> parseParams(Document dc) {
          Map<String, CharSequence> params = new HashMap<String, CharSequence>();
          NodeList paramsElements = dc.getElementsByTagNameNS(SCHEMA_LOCATION, TAG_PARAMS);
          if (paramsElements.getLength() > 0) {
              Element paramsElement = (Element) paramsElements.item(0);
              NodeList paramElements = paramsElement.getElementsByTagNameNS(SCHEMA_LOCATION, TAG_PARAM);
              for (int i = 0; i < paramElements.getLength(); i++) {
                  Node paramElement = paramElements.item(i);
                  String name = nodeAttribute(paramElement, TAG_PARAM_ATTR_NAME, "");
                  String value = nodeAttribute(paramElement, TAG_PARAM_ATTR_VALUE, "");
                  if (name != null && name.length() > 0) {
                      params.put(name, value);
                  }
              }
          }
          return params;
      }
docs: Parse configuration predefined parameters.
  
  @param dc DOM-document
  @return parameters