for (int j = 0; j < l.getLength(); j++)
{
Element t = (Element) l.item(j);
JobDefParameter jdp = new JobDefParameter();
jdp.setKey(t.getElementsByTagName("key").item(0).getTextContent());
jdp.setValue(t.getElementsByTagName("value").item(0).getTextContent());
jd.getParameters().add(jdp);
}
jd.setCanBeRestarted(canBeRestarted);
jd.setJavaClassName(javaClassName);