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 TypeMethodDescriptionThe model elements that are to be exportedjakarta.xml.bind.Marshaller
This will give access to the Marshaller object used to serialize the ModelIf the BPMN model elements were validated, this is where the results will be available.void
write()
This method will serialize the JAXB object tree to an Outputstream silently exits if all goes well
-
Method Details
-
getMappedElements
The model elements that are to be exported- Returns:
- the elements
-
getViolations
Collection<RuleViolationResult> 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.JAXBExceptionThis will give access to the Marshaller object used to serialize the Model- Returns:
- the Marshaller
- Throws:
jakarta.xml.bind.JAXBException
-
write
This method will serialize the JAXB object tree to an Outputstream silently exits if all goes well- Throws:
jakarta.xml.bind.JAXBException
SAXParseException
-