code: public void setDeclared (int index, boolean value)
      {
      if (index < 0 || index >= getLength ())
          throw new ArrayIndexOutOfBoundsException (
          "No attribute at index: " + index);
      declared [index] = value;
      }
docs: Assign a value to the "declared" flag of a specific attribute.
  This is normally needed only for attributes of type CDATA,
  including attributes whose type is changed to or from CDATA.
  
  @param index The index of the attribute (zero-based).
  @param value The desired flag value.
  @exception java.lang.ArrayIndexOutOfBoundsException When the
  supplied index does not identify an attribute.
  @see #setType