public void setChildElement(Element childElement) {
        for (Iterator<Element> i=element.elementIterator(); i.hasNext(); ) {
            element.remove(i.next());
        }
        element.add(childElement);
    }
Sets the wrapped stanza by this Route packet. ClientRoute packets may have a single child
element. This is a convenience method to avoid manipulating this underlying packet's
Element instance directly.

@param childElement the child element.
xmppserver/src/main/java/org/jivesoftware/openfire/multiplex/Route.java