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

Method junosInsert

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

Sets the attribute ("insert") and ("name") for the active element of XML object. @param before refers to the name of the junos element the new element should be inserted before @param name the name of the new object that should be inserted before the before param object

(String before, String name)

Source from the content-addressed store, hash-verified

349 * @param name the name of the new object that should be inserted before the before param object
350 */
351 public void junosInsert(String before, String name) {
352 activeElement.setAttribute("insert", before);
353 activeElement.setAttribute("name", name);
354 }
355
356 /**
357 * Finds the text value of an element in the XML hierarchy specified by the list.

Calls 1

setAttributeMethod · 0.80