Interface IXmlExport

All Known Implementing Classes:
com.nomagic.magicdraw.cbm.exporter.BaseXmlExport, Bpmn20Export

@OpenApiAll public interface IXmlExport
A simple interface to get access to the internal IXmlExporter instance.
Since:
Mar 12, 2012
  • Method Summary

    Modifier and Type
    Method
    Description
    The model elements that are to be exported
    jakarta.xml.bind.Marshaller
    This will give access to the Marshaller object used to serialize the Model
    If the BPMN model elements were validated, this is where the results will be available.
    void
    This method will serialize the JAXB object tree to an Outputstream silently exits if all goes well
  • Method Details

    • getMappedElements

      Set<Element> getMappedElements()
      The model elements that are to be exported
      Returns:
      the elements
    • getViolations

      If the BPMN model elements were validated, this is where the results will be available.
      Returns:
      the Validation Rule Violations
    • getMarshaller

      jakarta.xml.bind.Marshaller getMarshaller() throws jakarta.xml.bind.JAXBException
      This will give access to the Marshaller object used to serialize the Model
      Returns:
      the Marshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • write

      void write() throws jakarta.xml.bind.JAXBException, SAXParseException
      This method will serialize the JAXB object tree to an Outputstream silently exits if all goes well
      Throws:
      jakarta.xml.bind.JAXBException
      SAXParseException