/** * Merges the set options of a another options object with this. If the other options set is null, * this objects stays the same. * * @param options other options * @throws XMPException If illegal options are provided */ public void mergeWith(PropertyOptions options) throws XMPException { if (options != null) { setOptions(getOptions() | options.getOptions()); } }