org.eclipse.emf._2002.ecore
Class ObjectFactory

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.ObjectFactory

public class ObjectFactory
extends Object

This object contains factory methods for each Java content interface and Java element interface generated in the org.eclipse.emf._2002.ecore package.

An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.


Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.eclipse.emf._2002.ecore
 
Method Summary
 EAnnotation createEAnnotation()
          Create an instance of EAnnotation
 EAttribute createEAttribute()
          Create an instance of EAttribute
 EClass createEClass()
          Create an instance of EClass
 javax.xml.bind.JAXBElement<EClassifier> createEClassifier(EClassifier value)
          Create an instance of JAXBElement<EClassifier>}
 EDataType createEDataType()
          Create an instance of EDataType
 javax.xml.bind.JAXBElement<EDataType> createEDataType(EDataType value)
          Create an instance of JAXBElement<EDataType>}
 EEnum createEEnum()
          Create an instance of EEnum
 EEnumLiteral createEEnumLiteral()
          Create an instance of EEnumLiteral
 EFactory createEFactory()
          Create an instance of EFactory
 EGenericType createEGenericType()
          Create an instance of EGenericType
 javax.xml.bind.JAXBElement<EModelElement> createEModelElement(EModelElement value)
          Create an instance of JAXBElement<EModelElement>}
 javax.xml.bind.JAXBElement<ENamedElement> createENamedElement(ENamedElement value)
          Create an instance of JAXBElement<ENamedElement>}
 EObject createEObject()
          Create an instance of EObject
 javax.xml.bind.JAXBElement<Object> createEObject(Object value)
          Create an instance of JAXBElement<Object>}
 EOperation createEOperation()
          Create an instance of EOperation
 EPackage createEPackage()
          Create an instance of EPackage
 EParameter createEParameter()
          Create an instance of EParameter
 EReference createEReference()
          Create an instance of EReference
 EStringToStringMapEntry createEStringToStringMapEntry()
          Create an instance of EStringToStringMapEntry
 javax.xml.bind.JAXBElement<EStructuralFeature> createEStructuralFeature(EStructuralFeature value)
          Create an instance of JAXBElement<EStructuralFeature>}
 javax.xml.bind.JAXBElement<ETypedElement> createETypedElement(ETypedElement value)
          Create an instance of JAXBElement<ETypedElement>}
 ETypeParameter createETypeParameter()
          Create an instance of ETypeParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.eclipse.emf._2002.ecore

Method Detail

createEClass

public EClass createEClass()
Create an instance of EClass


createEAnnotation

public EAnnotation createEAnnotation()
Create an instance of EAnnotation


createETypeParameter

public ETypeParameter createETypeParameter()
Create an instance of ETypeParameter


createEOperation

public EOperation createEOperation()
Create an instance of EOperation


createEGenericType

public EGenericType createEGenericType()
Create an instance of EGenericType


createEDataType

public EDataType createEDataType()
Create an instance of EDataType


createEParameter

public EParameter createEParameter()
Create an instance of EParameter


createEStringToStringMapEntry

public EStringToStringMapEntry createEStringToStringMapEntry()
Create an instance of EStringToStringMapEntry


createEPackage

public EPackage createEPackage()
Create an instance of EPackage


createEEnum

public EEnum createEEnum()
Create an instance of EEnum


createEEnumLiteral

public EEnumLiteral createEEnumLiteral()
Create an instance of EEnumLiteral


createEAttribute

public EAttribute createEAttribute()
Create an instance of EAttribute


createEFactory

public EFactory createEFactory()
Create an instance of EFactory


createEReference

public EReference createEReference()
Create an instance of EReference


createEObject

public EObject createEObject()
Create an instance of EObject


createETypedElement

public javax.xml.bind.JAXBElement<ETypedElement> createETypedElement(ETypedElement value)
Create an instance of JAXBElement<ETypedElement>}


createEDataType

public javax.xml.bind.JAXBElement<EDataType> createEDataType(EDataType value)
Create an instance of JAXBElement<EDataType>}


createEStructuralFeature

public javax.xml.bind.JAXBElement<EStructuralFeature> createEStructuralFeature(EStructuralFeature value)
Create an instance of JAXBElement<EStructuralFeature>}


createEObject

public javax.xml.bind.JAXBElement<Object> createEObject(Object value)
Create an instance of JAXBElement<Object>}


createEModelElement

public javax.xml.bind.JAXBElement<EModelElement> createEModelElement(EModelElement value)
Create an instance of JAXBElement<EModelElement>}


createEClassifier

public javax.xml.bind.JAXBElement<EClassifier> createEClassifier(EClassifier value)
Create an instance of JAXBElement<EClassifier>}


createENamedElement

public javax.xml.bind.JAXBElement<ENamedElement> createENamedElement(ENamedElement value)
Create an instance of JAXBElement<ENamedElement>}



Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.