code: public void set(String name, Object obj) throws IOException {
          if (!(obj instanceof Boolean)) {
              throw new IOException("Attribute must be of type Boolean.");
          }
          boolean val = ((Boolean)obj).booleanValue();
          set(name2Index(name), val);
      }
docs: Set the attribute value.