Remove an attribute from the list. Do nothing if attribute does not exist.

@param atts attributes
@param qName QName of the attribute to remove
972552
public static void removeAttribute(final AttributesImpl atts, final String qName) {
        final int i = atts.getIndex(qName);
        if (i != -1) {
            atts.removeAttribute(i);
        }
    }
251659
public void removeAttribute(String n)
    {
        attributes.remove(n);
        if (n.endsWith(".*"))
            prefixes.remove(n.substring(0,n.length()-2));
    }
104188
public void attribute(final QName attr, final String attrVal) throws IOException {
    out(" ");

    emitQName(attr);

    out("=");
    quote(attrVal);

    emitNs();
  }
983640
public Object removeAttribute(String name)
  {
    if (_attributes == null)
      return null;
    else
      return _attributes.remove(name);
  }
212397
private void validateDeleteAllowed(Attribute attr) {
    String attrIdentifier = attr.getIdentifier();
    if (systemEntityTypeRegistry.hasSystemAttribute(attrIdentifier)) {
      throw new SystemMetadataModificationException();
    }
  }
1211762
public void removeSessionAttr(final String attrName) {
    final HttpSession sess = request.getSession(false);

    if (sess == null) {
      return;
    }

    sess.removeAttribute(attrName);
  }
576334
public void removeAttributeValue(String attributeName, int index) {

        if (m_simpleAttributes.containsKey(attributeName)) {
            List<String> values = m_simpleAttributes.get(attributeName);
            if ((values.size() == 1) && (index == 0)) {
                removeAttributeSilent(attributeName);
            } else {
                values.remove(index);
            }
        } else if (m_entityAttributes.containsKey(attributeName)) {
            List<CmsEntity> values = m_entityAttributes.get(attributeName);
            if ((values.size() == 1) && (index == 0)) {
                removeAttributeSilent(attributeName);
            } else {
                CmsEntity child = values.remove(index);
                removeChildChangeHandler(child);
            }
        }
        fireChange();
    }
442820
public M remove(String... attrs) {
		if (attrs != null)
			for (String a : attrs) {
				this.attrs.remove(a);
				this._getModifyFlag().remove(a);
			}
		return (M)this;
	}
186798
private void validateKeys(final Attributes atts) {
        final String keys = atts.getValue(ATTRIBUTE_NAME_KEYS);
        if (keys != null) {
            for (final String key : keys.split(" ")) {
                if (!isValidKeyName(key)) {
                    logger.error(MessageUtils.getMessage("DOTJ055E", key).toString());
                }
            }
        }
    }
463798
public boolean removeAttribute(String attribute, boolean removeFromACModel, boolean notifyListeners) {
                if (!super.removeObject(attribute, false)) {
                        return false;
                }

                if (acModel != null && removeFromACModel && acModel.getContext() != this) {
                        acModel.getContext().removeObject(attribute);
                }

                // Remove data usage of removed attributes
                for (String activity : activities) {
                        removeDataUsageFor(activity, attribute);
                }
                if (notifyListeners) {
                        contextListenerSupport.notifyObjectRemoved(attribute);
                }
                return true;
        }
1087823
public void delete_attribute_property(String attname, String propname) throws DevFailed {
        deviceProxyDAO.delete_attribute_property(this, attname, propname);
    }
510659
public boolean removeAttribute(final String name) {
        
        AttributeInfo existInfo = null;
        for(AttributeInfo item : attributes) {
            if(item.name.equals(name)) {
                existInfo = item;
                break;
            }
            
        }
        
        if(existInfo != null) {
            this.attributes.remove(existInfo);
            return true;
        }
        
        return false;
        
    }
1013956
public function removeAttrib($attribName)
    {
        if (isset($this->attribs[$attribName])) {
            unset($this->attribs[$attribName]);
            return true;
        }
        return false;
    }
863369
def _remove_attributes(attrs, remove_list):
    
    new_attrs = {}
    for attr in attrs.keys():
        if attr not in remove_list:
            new_attrs[attr] = attrs[attr]
    return new_attrs
1225483
public void removeAttribute(String name) {
        if (!_iSess.isValid())
            throw new IllegalStateException();
        if (_iSess != null) {
            _iSess.removeAttribute(name);
        }
    }
214320
public void delete_device_attribute(Database database, String deviceName, String attname) throws DevFailed {
        if (!database.isAccess_checked()) checkAccess(database);

        String[] array = new String[2];
        array[0] = deviceName;
        array[1] = attname;
        DeviceData argIn = new DeviceData();
        argIn.insert(array);
        command_inout(database, "DbDeleteDeviceAttribute", argIn);
    }
592895
public void removeAttribute(String name) {
        if (name == null) {
            throw new NullPointerException("don't set a NULL named attribute");
        }
        synchronized (mutex) {
            window.remove(name);
            if (deleteAttributes == null) {
                deleteAttributes = new HashSet<String>(4);
                deleteAttributes.add(name);
            }
        }
    }