holder.store(id, profilingData);
HashMap<String, Object> configuration = new HashMap<String, Object>();
configuration.put("id", id);
ProfilingGenerator profilingGenerator = new ProfilingGenerator();
profilingGenerator.setProfilingDataHolder(holder);
Pipeline pipeline = new NonCachingPipeline();
profilingGenerator.setConfiguration(configuration);
pipeline.addComponent(profilingGenerator);
pipeline.addComponent(new XMLSerializer());
ByteArrayOutputStream baos = new ByteArrayOutputStream();