|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.vm.AtlModelHandler
public abstract class AtlModelHandler
The abstract model handler definition.
Field Summary | |
---|---|
static java.lang.String |
AMH_EMF
EMF model handler name. |
Constructor Summary | |
---|---|
AtlModelHandler()
|
Method Summary | |
---|---|
abstract ModelLoader |
createModelLoader()
|
static AtlModelHandler |
getDefault(java.lang.String repository)
Returns the default model handler. |
static AtlModelHandler |
getHandler(ASMModel model)
Returns the handler of a given model. |
static java.lang.String |
getHandlerName(ASMModel model)
|
static java.lang.String[] |
getModelHandlers()
Returns the model handlers ids. |
abstract boolean |
isHandling(ASMModel model)
Returns true if the model is handled by the current model handler. |
static void |
registerDefaultHandler(java.lang.String repository,
AtlModelHandler handler)
Registers the given handler as the default model handler for the given repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AMH_EMF
Constructor Detail |
---|
public AtlModelHandler()
Method Detail |
---|
public static void registerDefaultHandler(java.lang.String repository, AtlModelHandler handler)
repository
- The repository ID (e.g. "EMF" or "MDR")handler
- The default AtlModelHandler object to use.public static AtlModelHandler getDefault(java.lang.String repository)
repository
- The repository ID (e.g. "EMF" or "MDR")
public static java.lang.String[] getModelHandlers()
public static java.lang.String getHandlerName(ASMModel model)
public static AtlModelHandler getHandler(ASMModel model)
model
- the model
public abstract boolean isHandling(ASMModel model)
model
- the model to test
public abstract ModelLoader createModelLoader()
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |