MCPcopy Create free account
hub / github.com/Juniper/netconf-java / junosRename

Method junosRename

src/main/java/net/juniper/netconf/XML.java:340–343  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Calls 1

setAttributeMethod · 0.80