public static void removeAll(Document document) {
        List<String> elementsId = null;

        elementsId = getElementsId(document);

        removeAll(elementsId);
    }
public static void removeAll ( Document document ) { List < String > elementsId = null ; elementsId = getElementsId ( document ) ; removeAll ( elementsId ) ; }
Removes all queries in the XML file from the Repository

@param document document which would be used as source for query names to remove from repository