Replaces the old value with the new value.
@param oldValue the value that should be replaced
@param newValue the value that should be added
@throws IllegalArgumentException if the value is null or if the value's attribute isn't this attribute.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.