MCPcopy Index your code
hub / github.com/Juniper/netconf-java / append

Method append

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

Append an element under the active element of XML object. The new element now becomes the active element. @param element The name of element to append. @return The modified XML after appending the element.

(String element)

Source from the content-addressed store, hash-verified

97 * @return The modified XML after appending the element.
98 */
99 public XML append(String element) {
100 Element newElement = ownerDoc.createElement(element);
101 activeElement.appendChild(newElement);
102 return new XML(newElement);
103 }
104
105 /**
106 * Append an element, with text, under the active element of XML object.

Calls

no outgoing calls