setAttribute method

void setAttribute(
  1. String name,
  2. Object output
)

Set attribute of a specified name.

Implementation

void setAttribute(String name, Object output){
  _attributes[name] = output;
}