* @param pnl Element
* @throws SysException исключение
*/
private void loadParams(Map<String, Object> prm_, Element pnl) throws SysException {
NodeList nl = pnl.getChildNodes();
PrmFactory fact = new PrmFactory();
for (int i = nl.getLength() - 1; i >= 0; i--) {
Node n = nl.item(i);
if (n.getNodeType() != Node.ELEMENT_NODE)
continue;
Element e = (Element) n;
String nn = n.getNodeName();
if (nn.equals("param")) {
n = fact.getParamDBTS(e); // Поддержка параметров DBTS
} else if (nn.equals("prm")) {
String name = Strings.getXMLValue(e, "#name");
String grp = Strings.getXMLValue(e, "#grp");
String fn = (grp == null || grp.length() == 0) ? name : grp + "/"
+ name;
prm_.put(fn, fact.getParam(e, this));
}
}
}