Should it be?

 attribute = new DiskAttribute(name, value, charset);