public byte [] compress(List<String> ids, Deflater deflater)
throws TransformerFactoryConfigurationError, TransformerException, IOException {
OME ome = new OME();
addToOME(ome, ids);
Document document = documentBuilder.get().newDocument();
Element omeElement = ome.asXMLElement(document);
document.appendChild(omeElement);
DOMSource domSource = new DOMSource(document);
ByteArrayOutputStream baOS = new ByteArrayOutputStream();
final Transformer transformer = TransformerFactory.newInstance().newTransformer();