Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java54
1 files changed, 0 insertions, 54 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java
deleted file mode 100644
index 4dd116eb9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarXMLProcessor.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.util;
-
-import com.example.car.CarPackage;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class CarXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- CarPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the CarResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new CarResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new CarResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //CarXMLProcessor

Back to the top