Removes first element with the given route For removing multiple element use setDocuemtns with null arguments.
Syntax
public
boolean
removeDocument
(
String...
route
) throws IllegalArgumentException
Parameters
-
route –
The route to the element to remove
Returns
true if at least one element has been removed or false otherwise