diff options
Diffstat (limited to 'extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java')
-rw-r--r-- | extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java index 809d1163451..15583068f00 100644 --- a/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java +++ b/extraplugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/util/RobotMLXMLProcessor.java @@ -1,50 +1,50 @@ -/**
- */
-package org.eclipse.papyrus.RobotML.util;
-
-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;
-
-import org.eclipse.papyrus.RobotML.RobotMLPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class RobotMLXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RobotMLXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- RobotMLPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the RobotMLResourceFactoryImpl 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 RobotMLResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new RobotMLResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //RobotMLXMLProcessor
+/** + */ +package org.eclipse.papyrus.RobotML.util; + +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; + +import org.eclipse.papyrus.RobotML.RobotMLPackage; + +/** + * This class contains helper methods to serialize and deserialize XML documents + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RobotMLXMLProcessor extends XMLProcessor { + + /** + * Public constructor to instantiate the helper. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RobotMLXMLProcessor() { + super((EPackage.Registry.INSTANCE)); + RobotMLPackage.eINSTANCE.eClass(); + } + + /** + * Register for "*" and "xml" file extensions the RobotMLResourceFactoryImpl 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 RobotMLResourceFactoryImpl()); + registrations.put(STAR_EXTENSION, new RobotMLResourceFactoryImpl()); + } + return registrations; + } + +} //RobotMLXMLProcessor |