@Override protected XMLSave createXMLSave() { return new XMISaveImpl(createXMLHelper()) { @Override protected boolean shouldSaveFeature(EObject o, EStructuralFeature f) { if (Bpmn2Package.eINSTANCE.getDocumentation_Mixed().equals(f)) return false; if (Bpmn2Package.eINSTANCE.getFormalExpression_Mixed().equals(f)) return false; return super.shouldSaveFeature(o, f); } }; }
@Override protected XMLSave createXMLSave() { return new XMISaveImpl(createXMLHelper()) { @Override protected void saveHref(EObject remote, EStructuralFeature f) { ((MyXMLHelper) helper).currentFeature = f; super.saveHref(remote, f); } }; }