code: public void addClass (ClassRecord record)
      {
          // validate the class id
          if (record.classId > 255) {
              log.warning("Refusing to add class; classId > 255 " + record + ".");
          } else {
              _classes.put(record.classId, record);
          }
      }
docs: Adds a fully configured color class record to the pository. This is only called by the XML
  parsing code, so pay it no mind.