import org.dom4j.Node; //导入方法依赖的package包/类
/**
* Updates a collection record Document.
*
* @param collectionRecordDoc A collection record Document (may be from the template)
* @param title Title (must not be null)
* @param description Description (can be null)
* @param additionalMetadata Additional metadata (String, XML, or null)
* @param xmlFormat Format specifier or "DDS_UNCHANGED" to leave unchanged
* @param key Collection key or "DDS_UNCHANGED" to leave unchanged
* @param id Record ID or "DDS_UNCHANGED" to leave unchanged
* @param accessionDate Accession date or null to leave unchanged
* @return An updated Document
* @exception Exception If error
*/
private org.dom4j.Document updateCollectionRecord(
org.dom4j.Document collectionRecordDoc,