private static void moveElements(String localName, XmlCursor moveable, XmlCursor cursor) { while (moveable.toNextSibling(J2EE_NAMESPACE, localName)) { moveable.moveXml(cursor);
private static void moveElements(String localName, XmlCursor moveable, XmlCursor toHere) { QName name = new QName(J2EE_NAMESPACE, localName);  while (toHere.getName().equals(name) && toHere.toNextSibling()) { } moveable.toCursor(toHere); while (moveable.toNextSibling(name)) { moveable.moveXml(toHere);
    private static void moveElements(String localName, XmlCursor moveable, XmlCursor cursor) {        while (moveable.toNextSibling(J2EE_NAMESPACE, localName)) {            moveable.moveXml(cursor);        }    }