/** * Get a clone of the Client Value * * @return a copy of the current value */ public StringValue clone() { return (StringValue)super.clone(); }
/** * @return a copy of the current value */ public BinaryValue clone() { BinaryValue clone = (BinaryValue)super.clone(); if ( normalizedValue != null ) { clone.normalizedValue = new byte[ normalizedValue.length ]; System.arraycopy( normalizedValue, 0, clone.normalizedValue, 0, normalizedValue.length ); } if ( wrappedValue != null ) { clone.wrappedValue = new byte[ wrappedValue.length ]; System.arraycopy( wrappedValue, 0, clone.wrappedValue, 0, wrappedValue.length ); } return clone; }