Decompose/NetDecom.java
private void exportSubNet(List<PetrinetGraph> subGraphs) {
		DummyContext context = new DummyContext();
		// PnmlExportNetToEPNML pnmlSerializer = new PnmlExportNetToEPNML();

		int num = 0;
		String path = oPath;
		for (PetrinetGraph spg : subGraphs) {
			File of = new File(path + String.valueOf(num) + ".pnml");
			try {
				// pnmlSerializer.exportPetriNetToEPNMLFile(context.getContext(),
				// (Petrinet) spg, of);
				exportPetriNetToPNMLOrEPNMLFile(context.getContext(), spg, of, Pnml.PnmlType.EPNML);
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			num++;
		}
	}
//export the net to PNML file
export the net to PNML file
export the net to PNML file
private void exportSubNet(List<PetrinetGraph> subGraphs) {
		DummyContext context = new DummyContext();
		int num = 0;
		String path = oPath;
		for (PetrinetGraph spg : subGraphs) {
			File of = new File(path + String.valueOf(num) + ".pnml");
			try {
				exportPetriNetToPNMLOrEPNMLFile(context.getContext(), spg, of, Pnml.PnmlType.EPNML);
			} catch (IOException e) {
				e.printStackTrace();
			}
			num++;
		}
	}
private void exportSubNet ( List < PetrinetGraph > subGraphs ) { DummyContext context = new DummyContext ( ) ; int num = 0 ; String path = oPath ; for ( PetrinetGraph spg : subGraphs ) { File of = new File ( path + String . valueOf ( num ) + ".pnml" ) ; try { exportPetriNetToPNMLOrEPNMLFile ( context . getContext ( ) , spg , of , Pnml . PnmlType . EPNML ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } num ++ ; } }
export the net to PNML file
export the net to PNML file
// PnmlExportNetToEPNML pnmlSerializer = new PnmlExportNetToEPNML(); // pnmlSerializer.exportPetriNetToEPNMLFile(context.getContext(), // (Petrinet) spg, of); // TODO Auto-generated catch block