diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java deleted file mode 100644 index 14c8e9602..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.core.internal.util; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.xmi.XMLResource; -import org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl; -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -public class JEEXMLHelperImpl extends XMLHelperImpl { - - public JEEXMLHelperImpl(XMLResource resource) { - super(resource); - } - - - - @Override - public EStructuralFeature getFeature(EClass class1, String namespaceURI, - String name, boolean isElement) { - // If not found in current namespace package, go to common package - EStructuralFeature aFeature = super.getFeature(class1, namespaceURI, name, isElement); - if (aFeature == null) - aFeature = super.getFeature(class1, JavaeePackage.eNS_URI, name, isElement); - return aFeature; - } - -} |