Class MappingFileSourceFactory

java.lang.Object
org.exolab.castor.builder.factory.MappingFileSourceFactory

public final class MappingFileSourceFactory extends Object
A factory for creating mapping files.
Version:
$Revision: 7915 $ $Date: 2006-04-13 07:37:49 -0600 (Thu, 13 Apr 2006) $
Author:
Keith Visco
  • Constructor Details

    • MappingFileSourceFactory

      public MappingFileSourceFactory(BuilderConfiguration config)
      Creates a new MappingFileSourceFactory with the given configuration.
      Parameters:
      config - the BuilderConfiguration instance
  • Method Details

    • createMapping

      public ClassMapping createMapping(ClassInfo classInfo)
      Creates the class mapping for the given ClassInfo.
      Parameters:
      classInfo - the XML Schema element declaration
      Returns:
      the ClassMapping representing the ClassInfo