* Check if the user gives us the permission to use reference to those identifiers.
* If not, forget them. Information will actually not be lost, since the same identifiers
* will be provided by private methods in ISOMetadata. If we do nott clear the identifiers
* here, they would appear twice in the XML output.
*/
if (uuid != null && !resolver.canSubstituteByReference(context, type, metadata, uuid)) {
uuid = null;
}
if (link != null && !resolver.canSubstituteByReference(context, type, metadata, link)) {
link = null;
}