Class CdaDocumentMarshaller

java.lang.Object
org.projecthusky.cda.elga.xml.CdaDocumentMarshaller

public class CdaDocumentMarshaller extends Object
This class provides a marshaller implementation to convert CDA-ELGA documents to their XML representation.
Author:
Quentin Ligier
  • Method Details

    • marshall

      public static String marshall(POCDMT000040ClinicalDocument clinicalDocument, String stylesheet) throws javax.xml.bind.JAXBException
      Marshalles a CDA-ELGA document to a String.
      Parameters:
      clinicalDocument - The CDA-ELGA document to marshall.
      stylesheet - name of stylesheet
      Returns:
      the XML representation of the clinicalDocument.
      Throws:
      javax.xml.bind.JAXBException - if an error was encountered while creating the marshaller.