/** * <p> * Sets the attribute's value to the specified string, * replacing any previous value. The value is not normalized * automatically. * </p> * * @param value the value assigned to the attribute * @throws IllegalDataException if the value contains characters * which are not legal in XML such as vertical tab or a null. * Characters such as " and & are legal, but will be * automatically escaped when the attribute is serialized. * @throws MalformedURIException if this is an * <code>xml:base</code> attribute, and the value is not a * legal IRI */ public void setValue(String value) { _setValue(value); }
_setValue(value); if ("xml".equals(this.prefix) && "id".equals(this.localName)) { _setType(Attribute.Type.ID);