Replaces all the elements with the given route Documents will be paired to elements in order Elements with greater or equals index than size of new elements will be untouched Element paired with null will be removed.
Syntax
public
abstract void
setDocuments
(
List< ISDMParserDocument >
documents
,
String...
route
) throws IllegalArgumentException
Parameters
-
documents –
The list of new documents or nulls if one or more document should be removed
-
route –
The route to the elements
Exceptions
-
IllegalArgumentException –
if either of the arguments is null.