org.objectweb.jorm.mapper.fos.generator
Class FosMOPFactory

java.lang.Object
  extended byorg.objectweb.jorm.mapper.fos.generator.FosMOPFactory
All Implemented Interfaces:
MOPFactory

public class FosMOPFactory
extends java.lang.Object
implements MOPFactory

Author:
P. Dechamboux

Constructor Summary
FosMOPFactory()
           
 
Method Summary
 MOP createBindingMOP(JormCompilerParameter cp, java.lang.String mappername)
          This method must return a new instance of a BindingMOP
 java.lang.Object createClassGenerationContext(Mapping mo)
          Creates a generation context that can be shared between binding and mapping generation for a particular class.
 MOP createMappingMOP(JormCompilerParameter cp, java.lang.String mappername)
          This method must return a new instance of a MappingMOP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FosMOPFactory

public FosMOPFactory()
Method Detail

createMappingMOP

public MOP createMappingMOP(JormCompilerParameter cp,
                            java.lang.String mappername)
                     throws PException
This method must return a new instance of a MappingMOP

Specified by:
createMappingMOP in interface MOPFactory
Throws:
PException

createBindingMOP

public MOP createBindingMOP(JormCompilerParameter cp,
                            java.lang.String mappername)
                     throws PException
This method must return a new instance of a BindingMOP

Specified by:
createBindingMOP in interface MOPFactory
Throws:
PException

createClassGenerationContext

public java.lang.Object createClassGenerationContext(Mapping mo)
                                              throws PException
Creates a generation context that can be shared between binding and mapping generation for a particular class.

Specified by:
createClassGenerationContext in interface MOPFactory
Throws:
PException