This method of the Document class is an alias for load and is here only for compatibility reasons.
public void setURL( String urlstr ) throws ParseException;
ParseException if an error occurs while parsing the URL string.