1 package org.hibernate.eclipse.mapper.registry; 2 3 import org.eclipse.wst.sse.core.internal.ltk.modelhandler.IDocumentTypeHandler; 4 import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel; 5 import org.hibernate.eclipse.mapper.modelhandler.ModelHandlerForREVENGXML; 6 7 public class AdapterFactoryProviderForREVENGXML extends AdapterFactoryProviderForXML { 8 9 public AdapterFactoryProviderForREVENGXML() { 10 11 } 12 13 public boolean isFor(IDocumentTypeHandler contentTypeDescription) { 14 return (contentTypeDescription instanceof ModelHandlerForREVENGXML); 15 } 16 17 18 protected void addContentBasedFactories(IStructuredModel structuredModel) { 19 super.addContentBasedFactories(structuredModel); 20 } 21 } 22 | Popular Tags |