Sets the value of the attribute with the given route If attribute does not exist it will be created as well as all other non existing elements in the route.
Syntax
public voidputAttribute (
Stringvalue,
String...route
) throws IllegalArgumentException
Parameters
value –
The new value
route –
The route to the attribute
Exceptions
IllegalArgumentException –
if either of the arguments is null.