&& ((JAXBElement)child).getName().equals(QNAME_BOOKMARK_START));
}
private void appendBookmarksToMove(Object child) {
CTBookmark bm = (CTBookmark)XmlUtils.unwrap(child);
JAXBElement<CTMarkupRange> jaxbBmEnd = null;
CTMarkupRange bmEnd = null;
bookmarksStartToMove.add(child);
//The bookmarkEnd is put directly after a moved bookmarkStart in the paragraph.
//the corresponding bookmarkEnd is later deleted
//(this ensures that the bookmarkEnd isn't before the bookmarkStart
bmEnd = Context.getWmlObjectFactory().createCTMarkupRange();
bmEnd.setId(bm.getId());
jaxbBmEnd = Context.getWmlObjectFactory().createPBookmarkEnd(bmEnd);
bookmarksStartToMove.add(jaxbBmEnd);
bookmarksEndToRemove.add(bm.getId());
}