setElementName(String, String...) method

Sets the name of the root element with the given route Use empty route for setting root name of this document.

Syntax

public void setElementName ( String name , String... route )

Parameters

Exceptions