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(getPosition(name), val);
          encodeThis();
      }
docs: Set the attribute value.