Returns the first element with the given route.
Syntax
public abstract IParserDocument getDocument (String... route) throws IllegalArgumentException
Parameters
-
route –
The route to the element
Returns
The element as a new IParser document or null if there is no such element
Exceptions
-
IllegalArgumentException –
if the argument is null.