/**
*
*/
public String serialize(Study study) {
NexmlDocumentWriter ndc = getNexmlDocumentConverter(study, null);
String result = null;
try {
result = transform(ndc.fromTreeBaseToXml(study).getXmlString());
} catch (DocumentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (TransformerException e) {
// TODO Auto-generated catch block