Sets the name of the root element with the given route Use empty route for setting root name of this document.
Syntax
public
abstract void
setElementName
(
String
name
,
String...
route
) throws IllegalArgumentException
Parameters
-
name –
The new name of the root element
-
route –
The route to the element
Exceptions
-
IllegalArgumentException –
if either of the arguments is null.