use of org.kie.dmn.model.api.dmndi.DMNDiagram in project drools by kiegroup.
the class DMNDiagramConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
DMNDiagram style = (DMNDiagram) parent;
if (style.getSize() != null) {
writeChildrenNode(writer, context, style.getSize(), SIZE);
}
for (DiagramElement de : style.getDMNDiagramElement()) {
writeChildrenNode(writer, context, de, de.getClass().getSimpleName());
}
}
Aggregations