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 abstract void setElementName (
    String name,
    String... route
) throws IllegalArgumentException

Parameters

Exceptions