/** * Private helper method that handles parsing a collection of * parameters */ private void paramaterHelper(HashMap parameters, Node root, String prefix) throws ParsingException { String ref = root.getAttributes().getNamedItem(prefix + "IdRef"). getNodeValue(); if (parameters.containsKey(ref)) { List list = (List)(parameters.get(ref)); parseParameters(list, root); } else { List list = new ArrayList(); parseParameters(list, root); parameters.put(ref, list); } }