throw new Exception(MISSING_NAME_PARAM);
}
String docname = (String) message.get(NAME);
MetaData meta = col.getDocumentMeta(docname);
Document doc = new DocumentImpl();
doc.appendChild(meta.streamToXML(doc, true));
Map result = new HashMap(3);
result.put(RESULT, TextWriter.toString(doc));
return result;
}