org.eclipse.xtext.impl
Class XtextFactoryImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.xtext.impl.XtextFactoryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, XtextFactory

public class XtextFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements XtextFactory

An implementation of the model Factory.

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.xtext.XtextFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
XtextFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 AbstractElement createAbstractElement()
           
 AbstractMetamodelDeclaration createAbstractMetamodelDeclaration()
           
 AbstractNegatedToken createAbstractNegatedToken()
           
 AbstractRule createAbstractRule()
           
 Action createAction()
           
 Alternatives createAlternatives()
           
 Assignment createAssignment()
           
 CharacterRange createCharacterRange()
           
 CompoundElement createCompoundElement()
           
 CrossReference createCrossReference()
           
 EnumLiteralDeclaration createEnumLiteralDeclaration()
           
 EnumRule createEnumRule()
           
 EOF createEOF()
           
 GeneratedMetamodel createGeneratedMetamodel()
           
 Grammar createGrammar()
           
 Group createGroup()
           
 Keyword createKeyword()
           
 NegatedToken createNegatedToken()
           
 ParserRule createParserRule()
           
 ReferencedMetamodel createReferencedMetamodel()
           
 RuleCall createRuleCall()
           
 TerminalRule createTerminalRule()
           
 TypeRef createTypeRef()
           
 UnorderedGroup createUnorderedGroup()
           
 UntilToken createUntilToken()
           
 Wildcard createWildcard()
           
static XtextPackage getPackage()
          Deprecated. the package should not be accessed statically.
 XtextPackage getXtextPackage()
           
static XtextFactory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, convertToString, createFromString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, createFromString, getEPackage, setEPackage
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

XtextFactoryImpl

public XtextFactoryImpl()
Creates an instance of the factory.

EMF generated code
Method Detail

init

public static XtextFactory init()
Creates the default factory implementation.

EMF generated code

create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl
EMF generated code

createGrammar

public Grammar createGrammar()

Specified by:
createGrammar in interface XtextFactory
Returns:
a new object of class 'Grammar'.
EMF generated code

createAbstractRule

public AbstractRule createAbstractRule()

Specified by:
createAbstractRule in interface XtextFactory
Returns:
a new object of class 'Abstract Rule'.
EMF generated code

createAbstractMetamodelDeclaration

public AbstractMetamodelDeclaration createAbstractMetamodelDeclaration()

Specified by:
createAbstractMetamodelDeclaration in interface XtextFactory
Returns:
a new object of class 'Abstract Metamodel Declaration'.
EMF generated code

createGeneratedMetamodel

public GeneratedMetamodel createGeneratedMetamodel()

Specified by:
createGeneratedMetamodel in interface XtextFactory
Returns:
a new object of class 'Generated Metamodel'.
EMF generated code

createReferencedMetamodel

public ReferencedMetamodel createReferencedMetamodel()

Specified by:
createReferencedMetamodel in interface XtextFactory
Returns:
a new object of class 'Referenced Metamodel'.
EMF generated code

createParserRule

public ParserRule createParserRule()

Specified by:
createParserRule in interface XtextFactory
Returns:
a new object of class 'Parser Rule'.
EMF generated code

createTypeRef

public TypeRef createTypeRef()

Specified by:
createTypeRef in interface XtextFactory
Returns:
a new object of class 'Type Ref'.
EMF generated code

createAbstractElement

public AbstractElement createAbstractElement()

Specified by:
createAbstractElement in interface XtextFactory
Returns:
a new object of class 'Abstract Element'.
EMF generated code

createAction

public Action createAction()

Specified by:
createAction in interface XtextFactory
Returns:
a new object of class 'Action'.
EMF generated code

createKeyword

public Keyword createKeyword()

Specified by:
createKeyword in interface XtextFactory
Returns:
a new object of class 'Keyword'.
EMF generated code

createRuleCall

public RuleCall createRuleCall()

Specified by:
createRuleCall in interface XtextFactory
Returns:
a new object of class 'Rule Call'.
EMF generated code

createAssignment

public Assignment createAssignment()

Specified by:
createAssignment in interface XtextFactory
Returns:
a new object of class 'Assignment'.
EMF generated code

createCrossReference

public CrossReference createCrossReference()

Specified by:
createCrossReference in interface XtextFactory
Returns:
a new object of class 'Cross Reference'.
EMF generated code

createTerminalRule

public TerminalRule createTerminalRule()

Specified by:
createTerminalRule in interface XtextFactory
Returns:
a new object of class 'Terminal Rule'.
EMF generated code

createAbstractNegatedToken

public AbstractNegatedToken createAbstractNegatedToken()

Specified by:
createAbstractNegatedToken in interface XtextFactory
Returns:
a new object of class 'Abstract Negated Token'.
EMF generated code

createNegatedToken

public NegatedToken createNegatedToken()

Specified by:
createNegatedToken in interface XtextFactory
Returns:
a new object of class 'Negated Token'.
EMF generated code

createUntilToken

public UntilToken createUntilToken()

Specified by:
createUntilToken in interface XtextFactory
Returns:
a new object of class 'Until Token'.
EMF generated code

createWildcard

public Wildcard createWildcard()

Specified by:
createWildcard in interface XtextFactory
Returns:
a new object of class 'Wildcard'.
EMF generated code

createEOF

public EOF createEOF()

Specified by:
createEOF in interface XtextFactory
Returns:
a new object of class 'EOF'.
Since:
2.0
EMF generated code

createEnumRule

public EnumRule createEnumRule()

Specified by:
createEnumRule in interface XtextFactory
Returns:
a new object of class 'Enum Rule'.
EMF generated code

createEnumLiteralDeclaration

public EnumLiteralDeclaration createEnumLiteralDeclaration()

Specified by:
createEnumLiteralDeclaration in interface XtextFactory
Returns:
a new object of class 'Enum Literal Declaration'.
EMF generated code

createAlternatives

public Alternatives createAlternatives()

Specified by:
createAlternatives in interface XtextFactory
Returns:
a new object of class 'Alternatives'.
EMF generated code

createUnorderedGroup

public UnorderedGroup createUnorderedGroup()

Specified by:
createUnorderedGroup in interface XtextFactory
Returns:
a new object of class 'Unordered Group'.
EMF generated code

createGroup

public Group createGroup()

Specified by:
createGroup in interface XtextFactory
Returns:
a new object of class 'Group'.
EMF generated code

createCharacterRange

public CharacterRange createCharacterRange()

Specified by:
createCharacterRange in interface XtextFactory
Returns:
a new object of class 'Character Range'.
EMF generated code

createCompoundElement

public CompoundElement createCompoundElement()

Specified by:
createCompoundElement in interface XtextFactory
Returns:
a new object of class 'Compound Element'.
EMF generated code

getXtextPackage

public XtextPackage getXtextPackage()

Specified by:
getXtextPackage in interface XtextFactory
Returns:
the package supported by this factory.
EMF generated code

getPackage

@Deprecated
public static XtextPackage getPackage()
Deprecated. the package should not be accessed statically.

EMF generated code