private void populateDbOptions(String dbProduct,Element dbOptionsElement,Map<String,String> dbOptionsMap){
  NodeList dbOptions=dbOptionsElement.getElementsByTagName("dbOption");
  for (int i=0; i < dbOptions.getLength(); i++) {
    Element dbOption=(Element)dbOptions.item(i);
    if (!dbProduct.equalsIgnoreCase(dbOption.getAttribute("db"))) {
      continue;
    }
    dbOptionsMap.put(dbOption.getAttribute("name"),dbOption.getAttribute("value"));
  }
}

private void populateDbOptions ( String dbProduct , Element dbOptionsElement , Map < String , String > dbOptionsMap ) { NodeList dbOptions = dbOptionsElement . getElementsByTagName ( "dbOption" ) ; for ( int i = 0 ; i < dbOptions . getLength ( ) ; i ++ ) { Element dbOption = ( Element ) dbOptions . item ( i ) ; if ( ! dbProduct . equalsIgnoreCase ( dbOption . getAttribute ( "db" ) ) ) { continue ; } dbOptionsMap . put ( dbOption . getAttribute ( "name" ) , dbOption . getAttribute ( "value" ) ) ; } }
gets all the name / value pair db option couples related to the dbproduct , and put them into the dboptionsmap .
