KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > eclipse > mapper > registry > AdapterFactoryProviderForCFGXML


1 package org.hibernate.eclipse.mapper.registry;
2
3 import org.eclipse.wst.sse.core.internal.ltk.modelhandler.IDocumentTypeHandler;
4 import org.hibernate.eclipse.mapper.modelhandler.ModelHandlerForCFGXML;
5
6 public class AdapterFactoryProviderForCFGXML extends AdapterFactoryProviderForXML {
7     
8     /*
9      * @see AdapterFactoryProvider#isFor(ContentTypeDescription)
10      */

11     public boolean isFor(IDocumentTypeHandler contentTypeDescription) {
12         return (contentTypeDescription instanceof ModelHandlerForCFGXML);
13     }
14
15
16 }
17
Popular Tags