|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.util.SimpleAntlrAdapterFactory
public class SimpleAntlrAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX method for each class of the model.
SimpleAntlrPackage| Field Summary | |
|---|---|
protected static SimpleAntlrPackage |
modelPackage
The cached model package |
protected SimpleAntlrSwitch<org.eclipse.emf.common.notify.Adapter> |
modelSwitch
The switch that delegates to the createXXX methods |
| Constructor Summary | |
|---|---|
SimpleAntlrAdapterFactory()
Creates an instance of the adapter factory |
|
| Method Summary | |
|---|---|
org.eclipse.emf.common.notify.Adapter |
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target |
org.eclipse.emf.common.notify.Adapter |
createAlternativesAdapter()
Creates a new adapter for an object of class ' Alternatives' |
org.eclipse.emf.common.notify.Adapter |
createAntlrGrammarAdapter()
Creates a new adapter for an object of class ' Antlr Grammar' |
org.eclipse.emf.common.notify.Adapter |
createElementWithCardinalityAdapter()
Creates a new adapter for an object of class ' Element With Cardinality' |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
org.eclipse.emf.common.notify.Adapter |
createGroupAdapter()
Creates a new adapter for an object of class ' Group' |
org.eclipse.emf.common.notify.Adapter |
createKeywordAdapter()
Creates a new adapter for an object of class ' Keyword' |
org.eclipse.emf.common.notify.Adapter |
createNegatedElementAdapter()
Creates a new adapter for an object of class ' Negated Element' |
org.eclipse.emf.common.notify.Adapter |
createOptionsAdapter()
Creates a new adapter for an object of class ' Options' |
org.eclipse.emf.common.notify.Adapter |
createOptionValueAdapter()
Creates a new adapter for an object of class ' Option Value' |
org.eclipse.emf.common.notify.Adapter |
createPredicatedAdapter()
Creates a new adapter for an object of class ' Predicated' |
org.eclipse.emf.common.notify.Adapter |
createRuleAdapter()
Creates a new adapter for an object of class ' Rule' |
org.eclipse.emf.common.notify.Adapter |
createRuleCallAdapter()
Creates a new adapter for an object of class ' Rule Call' |
org.eclipse.emf.common.notify.Adapter |
createRuleElementAdapter()
Creates a new adapter for an object of class ' Rule Element' |
org.eclipse.emf.common.notify.Adapter |
createRuleOptionsAdapter()
Creates a new adapter for an object of class ' Rule Options' |
org.eclipse.emf.common.notify.Adapter |
createSkipAdapter()
Creates a new adapter for an object of class ' Skip' |
org.eclipse.emf.common.notify.Adapter |
createUntilElementAdapter()
Creates a new adapter for an object of class ' Until Element' |
org.eclipse.emf.common.notify.Adapter |
createWildcardAdapter()
Creates a new adapter for an object of class ' Wildcard' |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static SimpleAntlrPackage modelPackage
protected SimpleAntlrSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
createXXX methods.
| Constructor Detail |
|---|
public SimpleAntlrAdapterFactory()
| Method Detail |
|---|
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target.
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpltarget - the object to adapt.
target.public org.eclipse.emf.common.notify.Adapter createAntlrGrammarAdapter()
Antlr Grammar'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AntlrGrammarpublic org.eclipse.emf.common.notify.Adapter createOptionsAdapter()
Options'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Optionspublic org.eclipse.emf.common.notify.Adapter createOptionValueAdapter()
Option Value'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
OptionValuepublic org.eclipse.emf.common.notify.Adapter createRuleAdapter()
Rule'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Rulepublic org.eclipse.emf.common.notify.Adapter createRuleElementAdapter()
Rule Element'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RuleElementpublic org.eclipse.emf.common.notify.Adapter createPredicatedAdapter()
Predicated'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Predicatedpublic org.eclipse.emf.common.notify.Adapter createRuleOptionsAdapter()
Rule Options'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RuleOptionspublic org.eclipse.emf.common.notify.Adapter createRuleCallAdapter()
Rule Call'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RuleCallpublic org.eclipse.emf.common.notify.Adapter createKeywordAdapter()
Keyword'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Keywordpublic org.eclipse.emf.common.notify.Adapter createWildcardAdapter()
Wildcard'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Wildcardpublic org.eclipse.emf.common.notify.Adapter createAlternativesAdapter()
Alternatives'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Alternativespublic org.eclipse.emf.common.notify.Adapter createGroupAdapter()
Group'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Grouppublic org.eclipse.emf.common.notify.Adapter createElementWithCardinalityAdapter()
Element With Cardinality'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ElementWithCardinalitypublic org.eclipse.emf.common.notify.Adapter createNegatedElementAdapter()
Negated Element'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
NegatedElementpublic org.eclipse.emf.common.notify.Adapter createUntilElementAdapter()
Until Element'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
UntilElementpublic org.eclipse.emf.common.notify.Adapter createSkipAdapter()
Skip'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Skippublic org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||