Apply a short attribute value on the form, with the given name.

@param name attribute name
@param attribute attribute value
@since 1.11.1
484081
@Api
	public void setValue(String name, ShortAttribute attribute) {
		FormItem item = formWidget.getField(name);
		if (item != null) {
			item.setValue(attribute.getValue());
		}
	}
271535
public void setAttribute(String name, Object value)
  {
    if (_stream != null) {
      _stream.setAttribute(name, value);
    }
  }
738651
public void setStringAttribute(String name, String value) {
		ensureAttributes();
		Attribute attribute = new StringAttribute(value);
		attribute.setEditable(isEditable(name));
		getAllAttributes().put(name, attribute);

	}
1067490
public void setValue(String attributeName, Object value) {
        if (attributeName == null || value == null) {
            throw new NullPointerException();
        }
        values.put(attributeName, value);
    }
940070
public Object getAttributeValue(String name) throws IOException {
        ObjectIdentifier oid = PKCS9Attribute.getOID(name);

        if (oid == null)
            throw new IOException("Attribute name " + name +
                                  " not recognized or not supported.");

        return getAttributeValue(oid);
    }
605366
public void setAttribute(ObjectName name, String attrName, String value) throws Exception {
		MBeanAttributeInfo info = getAttrInfo(name, attrName);
		if (info == null) {
			throw new IllegalArgumentException("Cannot find attribute named '" + attrName + "'");
		} else {
			setAttribute(name, attrName, ClientUtils.stringToParam(value, info.getType()));
		}
	}
840809
public void delete(String name) throws IOException {
        if (name.equalsIgnoreCase(PERMITTED_SUBTREES)) {
            permitted = null;
        } else if (name.equalsIgnoreCase(EXCLUDED_SUBTREES)) {
            excluded = null;
        } else {
          throw new IOException("Attribute name not recognized by " +
                        "CertAttrSet:NameConstraintsExtension.");
        }
        encodeThis();
    }
750055
public void removeAttribute(String name) {
		if(logger.isDebugEnabled()) {
        	logger.debug("removeAttribute - name=" + name);
        }
		if(attributes  != null) {
			this.attributes.remove(name);
		}
	}
246412
@Override
	public void setAttribute(String name, Object value) {
		attributesSupport.setAttribute(name, value);
	}
745547
protected void onAttributeChanged(String name) {
		Object v = null;
		try {
			v = getAttribute(name).getValue();
		} catch (Exception exception) {
			//
		}
		if (ATTR_COLOR.equalsIgnoreCase(name)) {
			fireGraphicalAttributeChanged(name, null, v);
		} else {
			firePrimitiveChanged(name, null, v);
		}
	}
195857
public void setValue(String name, BooleanAttribute attribute) {
		FormItem item = formWidget.getField(name);
		if (item != null) {
			item.setValue(attribute.getValue());
		}
	}
618876
@Override
    public void setAttribute(String name, Object value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "Setting attribute: " + name);
        }
        this.attributes.put(name, value);
    }
1145326
public void setAttribute(String name, String value) {
        this.myAttrs.put(name.toLowerCase(), value);
    }
1099338
public void set(String name, Object obj) throws IOException {
        if (!(obj instanceof Integer)) {
            throw new IOException("Attribute must be of type Integer.");
        }
        if (name.equalsIgnoreCase(VERSION)) {
            version = ((Integer)obj).intValue();
        } else {
            throw new IOException("Attribute name not recognized by " +
                                  "CertAttrSet: CertificateVersion.");
        }
    }
1102317
public void addAttribute(QName attribute) {
        Level current = path.getLast();
        current.attributes.put(attribute,
                               new Level(ATTR + getName(attribute)));
    }
488521
public void appendOptionalAttribute(final String name, final Object value) {
		if (value != null) {
			appendAttribute(name, value);
		}
	}
359925
public void setStringAttribute(String name, String value) {
		ensureValue();
		Attribute attribute = new StringAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}