diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java deleted file mode 100644 index 99e44e149..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/lazy/util/LazyXMLProcessor.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: LazyXMLProcessor.java,v 1.2 2007/02/08 23:09:19 mtaal Exp $ - */ -package org.eclipse.emf.teneo.samples.emf.annotations.lazy.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.emf.teneo.samples.emf.annotations.lazy.LazyPackage; - -/** - * This class contains helper methods to serialize and deserialize XML documents - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class LazyXMLProcessor extends XMLProcessor { - /** - * Public constructor to instantiate the helper. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LazyXMLProcessor() { - super((EPackage.Registry.INSTANCE)); - LazyPackage.eINSTANCE.eClass(); - } - - /** - * Register for "*" and "xml" file extensions the LazyResourceFactoryImpl 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 LazyResourceFactoryImpl()); - registrations.put(STAR_EXTENSION, new LazyResourceFactoryImpl()); - } - return registrations; - } - -} //LazyXMLProcessor |