Sets the attribute ("rename") and ("name") for the active element of XML object. @param toBeRenamed current name of the element @param newName new name of the element
(String toBeRenamed, String newName)
| 338 | * @param newName new name of the element |
| 339 | */ |
| 340 | public void junosRename(String toBeRenamed, String newName) { |
| 341 | activeElement.setAttribute("rename", toBeRenamed); |
| 342 | activeElement.setAttribute("name", newName); |
| 343 | } |
| 344 | |
| 345 | /** |
| 346 | * Sets the attribute ("insert") and ("name") for the active element of XML |