<!DOCTYPE class>
<class name='Attributes' extends='Hash'>
   A class that holds the Attributes of an Element.  
  <method name='initialize'>
    <argument name='element'>
      the Element of which this is an Attribute
    </argument>
     Constructor 
  </method>
  <method name='[]'>
    <argument name='name'>
      an XPath attribute name 
    </argument>
    <return>
      A String, which is the value of the first matching attribute, or nil if there was none
    </return>
     Fetches an attribute value.  If you want to get the Attribute itself, use get_attribute() 
  </method>
  <method name='get_attribute'>
    <argument name='name'>
      the XPath by which to search for the attribute 
    </argument>
    <return>
      The first matching Attribute, or nil if there was none
    </return>
     Fetches an attribute 
  </method>
  <method name='[]='>
    <argument name='name'>
      the name of the attribute 
    </argument>
    <argument default='nil' name='value'>
      (optional) If supplied, the value of the attribute.  If nil, any existing matching attribute is deleted. 
    </argument>
    <return>
      self NOTE that unlike most REXML methods, this does not return the set Attribute.
    </return>
     Sets an attribute, overwriting any existing attribute value by the same name 
  </method>
  <method name='prefixes'/>
  <method name='each_attribute'/>
  <method name='delete'>
    <argument name='attribute'/>
    <return>
      the removed attribute
    </return>
     Removes an attribute 
  </method>
  <method name='add'>
    <argument name='attribute'>
      must be an Attribute
    </argument>
     Adds an attribute, overriding any existing attribute by the same name. 
  </method>
  <alias alias='&lt;&lt;' orig='add'>
    
  </alias>
  <method name='delete_all'>
    <argument name='xpath'>
      A String; all attributes that match this path will be removed 
    </argument>
    <return>
      an Array of the Attributes that were removed
    </return>
     DO NOT USE THIS METHOD!  It WILL fail, and may be removed.  If you absolutely need this method, write the author. Deletes all attributes matching an xpath 
  </method>
  <method name='literalize'>
    <argument name='name'/>
     Private helper class.
  </method>
</class>