Package org.projecthusky.cda.elga.xml
Class CdaDocumentMarshaller
java.lang.Object
org.projecthusky.cda.elga.xml.CdaDocumentMarshaller
This class provides a marshaller implementation to convert CDA-ELGA documents
to their XML representation.
- Author:
- Quentin Ligier
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringmarshall(POCDMT000040ClinicalDocument clinicalDocument, String stylesheet) Marshalles a CDA-ELGA document to aString.
-
Method Details
-
marshall
public static String marshall(POCDMT000040ClinicalDocument clinicalDocument, String stylesheet) throws javax.xml.bind.JAXBException Marshalles a CDA-ELGA document to aString.- 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.
-