Interface IXmlExport
-
- All Known Implementing Classes:
com.nomagic.magicdraw.cbm.exporter.BaseXmlExport,Bpmn20Export
@OpenApiAll public interface IXmlExportA simple interface to get access to the internal IXmlExporter instance.- Since:
- Mar 12, 2012
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<Element>getMappedElements()The model elements that are to be exportedjavax.xml.bind.MarshallergetMarshaller()This will give access to the Marshaller object used to serialize the Modeljava.util.Collection<RuleViolationResult>getViolations()If the BPMN model elements were validated, this is where the results will be available.voidwrite()This method will serialize the JAXB object tree to an Outputstream silently exits if all goes well
-
-
-
Method Detail
-
getMappedElements
java.util.Set<Element> getMappedElements()
The model elements that are to be exported- Returns:
- the elements
-
getViolations
java.util.Collection<RuleViolationResult> getViolations()
If the BPMN model elements were validated, this is where the results will be available.- Returns:
- the Validation Rule Violations
-
getMarshaller
javax.xml.bind.Marshaller getMarshaller() throws javax.xml.bind.JAXBExceptionThis will give access to the Marshaller object used to serialize the Model- Returns:
- the Marshaller
- Throws:
javax.xml.bind.JAXBException
-
write
void write() throws javax.xml.bind.JAXBException, org.xml.sax.SAXParseExceptionThis method will serialize the JAXB object tree to an Outputstream silently exits if all goes well- Throws:
javax.xml.bind.JAXBExceptionorg.xml.sax.SAXParseException
-
-