EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.impl
Class PatternFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.egf.pattern.impl.PatternFactoryImpl
All Implemented Interfaces:
PatternFactory

public class PatternFactoryImpl
extends EFactoryImpl
implements PatternFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.egf.pattern.PatternFactory
eINSTANCE
 
Constructor Summary
PatternFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 String convertToString(EDataType eDataType, Object instanceValue)
           
 EObject create(EClass eClass)
           
 Object createFromString(EDataType eDataType, String initialValue)
           
 Pattern createPattern()
           
static PatternPackage getPackage()
          Deprecated.  
 PatternPackage getPatternPackage()
           
static PatternFactory init()
          Creates the default factory implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternFactoryImpl

public PatternFactoryImpl()
Creates an instance of the factory.

Method Detail

init

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


create

public EObject create(EClass eClass)


createFromString

public Object createFromString(EDataType eDataType,
                               String initialValue)


convertToString

public String convertToString(EDataType eDataType,
                              Object instanceValue)


createPattern

public Pattern createPattern()

Specified by:
createPattern in interface PatternFactory
Returns:
a new object of class 'Pattern'.

getPatternPackage

public PatternPackage getPatternPackage()

Specified by:
getPatternPackage in interface PatternFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static PatternPackage getPackage()
Deprecated. 


EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.