This removes the attribute with the given name and within no namespace. If no such attribute exists, this method does nothing.
502503504505506507508509510511512
Element _elem = e; if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); } String xml = Utils.getElementAsString(_elem); saveXML(xml, filename);
504505506507508509510511512513514
if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); } String xml = Utils.getElementAsString(_elem); saveXML(xml, filename); if (name.equals("order")) {
559560561562563564565566567568569
} } else { Element _elem = e; if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); }
560561562563564565566567568569570
} else { Element _elem = e; if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); }
561562563564565566567568569570571
Element _elem = e; if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); } if (name.equals("job")) {
563564565566567568569570571572573
if (name.equals("order")) { _elem.removeAttribute("job_chain"); _elem.removeAttribute("id"); _elem.removeAttribute("replace"); } else { _elem.removeAttribute("name"); } if (name.equals("job")) { e.removeAttribute("spooler_id"); }
377378379380381382383384385386387
Object o = it.next(); if (o instanceof Element) { Element e = (Element) o; if ((file.equals(e.getAttributeValue("live_file")) || file.equals(e.getAttributeValue("file"))) && (node.equals(e.getAttributeValue("node")) || table.getSelectionCount() > 0 )) { found = true; e.removeAttribute("live_file"); e.removeAttribute("file"); if(isLive) e.setAttribute("live_file", file); else e.setAttribute("file", file);
378379380381382383384385386387388
if (o instanceof Element) { Element e = (Element) o; if ((file.equals(e.getAttributeValue("live_file")) || file.equals(e.getAttributeValue("file"))) && (node.equals(e.getAttributeValue("node")) || table.getSelectionCount() > 0 )) { found = true; e.removeAttribute("live_file"); e.removeAttribute("file"); if(isLive) e.setAttribute("live_file", file); else e.setAttribute("file", file); Utils.setAttribute("node", node, e);
519520521522523524525526527528529
table.getItem(index).setText(0, name); table.getItem(index).setText(1, value); Element e = (Element) _params.get(index); e.setName("copy_params"); e.setAttribute("from", value); e.removeAttribute("name"); e.removeAttribute("value"); _dom.setChanged(true); //if(type == Editor.JOB) _dom.setChangedForDirectory("job", Utils.getAttributeValue("name",_parent), SchedulerDom.MODIFY); }
520521522523524525526527528529530
table.getItem(index).setText(1, value); Element e = (Element) _params.get(index); e.setName("copy_params"); e.setAttribute("from", value); e.removeAttribute("name"); e.removeAttribute("value"); _dom.setChanged(true); //if(type == Editor.JOB) _dom.setChangedForDirectory("job", Utils.getAttributeValue("name",_parent), SchedulerDom.MODIFY); } }