public void removeAttribute(String name){
  if (name != null)   if (attributesList != null) {
    for (int i=0; i < attributesList.size(); i++) {
      Object o=attributesList.elementAt(i);
      if (o instanceof AttributeField) {
        AttributeField a=(AttributeField)o;
        try {
          String n=a.getName();
          if (n != null) {
            if (name.equals(n)) {
              attributesList.remove(a);
            }
          }
        }
 catch (        SdpParseException e) {
        }
      }
    }
  }
}

public void removeAttribute ( String name ) { if ( name != null ) if ( attributesList != null ) { for ( int i = 0 ; i < attributesList . size ( ) ; i ++ ) { Object o = attributesList . elementAt ( i ) ; if ( o instanceof AttributeField ) { AttributeField a = ( AttributeField ) o ; try { String n = a . getName ( ) ; if ( n != null ) { if ( name . equals ( n ) ) { attributesList . remove ( a ) ; } } } catch ( SdpParseException e ) { } } } } }
removes the attribute specified by the value parameter .
