diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java deleted file mode 100644 index bd480ad86..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/common/impl/J2EEResouceFactorySaxRegistry.java +++ /dev/null @@ -1,53 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 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 - *******************************************************************************/ -/* - * Created on Mar 11, 2004 - * - * To change the template for this generated file go to - * Window - Preferences - Java - Code Generation - Code and Comments - */ -package org.eclipse.jst.j2ee.internal.common.impl; -import org.eclipse.jst.j2ee.internal.J2EEConstants; -import org.eclipse.jst.j2ee.internal.application.impl.ApplicationResourceFactory; -import org.eclipse.jst.j2ee.internal.client.impl.ApplicationClientResourceFactory; -import org.eclipse.jst.j2ee.internal.ejb.impl.EJBJarResourceFactory; -import org.eclipse.jst.j2ee.internal.jca.impl.ConnectorResourceFactory; -import org.eclipse.jst.j2ee.internal.webapplication.impl.WebAppResourceFactory; -import org.eclipse.jst.j2ee.webservice.internal.WebServiceConstants; -import org.eclipse.jst.j2ee.webservice.internal.wsclient.impl.WebServicesClientResourceFactory; -import org.eclipse.jst.j2ee.webservice.internal.wsdd.WsddResourceFactory; -import org.eclipse.wst.common.internal.emf.resource.EMF2SAXRendererFactory; - -/** - * @author jsholl - * - * To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code - * and Comments - */ -public class J2EEResouceFactorySaxRegistry extends J2EEResourceFactoryRegistry { - public static J2EEResourceFactoryRegistry INSTANCE = new J2EEResouceFactorySaxRegistry(); - - public J2EEResouceFactorySaxRegistry() { - super(); - initRegistration(); - } - private void initRegistration() { - EMF2SAXRendererFactory.INSTANCE.setValidating(false); - registerLastFileSegment(J2EEConstants.EJBJAR_DD_SHORT_NAME, new EJBJarResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(J2EEConstants.WEBAPP_DD_SHORT_NAME, new WebAppResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(J2EEConstants.APP_CLIENT_DD_SHORT_NAME, new ApplicationClientResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(J2EEConstants.APPLICATION_DD_SHORT_NAME, new ApplicationResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(J2EEConstants.RAR_SHORT_NAME, new ConnectorResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(J2EEConstants.WEB_SERVICES_CLIENT_SHORTNAME, new WebServicesClientResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - registerLastFileSegment(WebServiceConstants.WEBSERVICE_DD_SHORT_NAME, new WsddResourceFactory(EMF2SAXRendererFactory.INSTANCE)); - } - -} |