Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.spi
Class ModelAdapterFactory  view ModelAdapterFactory download ModelAdapterFactory.java

java.lang.Object
  extended byjavax.ide.model.spi.ModelAdapterFactory
Direct Known Subclasses:
ModelAdapterFactory.ChainedFactories

public abstract class ModelAdapterFactory
extends java.lang.Object

A model apapter factory is responsible for creating the best possible adapter for a given element. The adapter is responsible for managing the communication between JSR model objects and IDE specific model objects.


Nested Class Summary
private static class ModelAdapterFactory.ChainedFactories
           
 
Field Summary
private static ModelAdapterFactory _impl
           
 
Constructor Summary
ModelAdapterFactory()
           
 
Method Summary
abstract  ElementImpl getImpl(javax.ide.model.Element element)
          Creates an instance of an adapter that will delegate requests to IDE specific model objects.
static ModelAdapterFactory getModelAdapterFactory()
          Get the ModelAdpaterFactory implementation for this IDE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_impl

private static ModelAdapterFactory _impl
Constructor Detail

ModelAdapterFactory

public ModelAdapterFactory()
Method Detail

getImpl

public abstract ElementImpl getImpl(javax.ide.model.Element element)
Creates an instance of an adapter that will delegate requests to IDE specific model objects.


getModelAdapterFactory

public static ModelAdapterFactory getModelAdapterFactory()
Get the ModelAdpaterFactory implementation for this IDE.