use of org.kie.workbench.common.stunner.bpmn.backend.marshall.json.parser.BPMN2JsonParser in project kie-wb-common by kiegroup.
the class Bpmn2Marshaller method marshallToBpmn2Resource.
public JBPMBpmn2ResourceImpl marshallToBpmn2Resource(final Diagram<Graph, Metadata> diagram, final String preProcessingData) throws IOException {
DroolsFactoryImpl.init();
BpsimFactoryImpl.init();
BPMN2JsonParser parser = createParser(diagram);
return (JBPMBpmn2ResourceImpl) super.unmarshall(parser, preProcessingData);
}
Aggregations