Class DescriptorSourceFactory

java.lang.Object
org.exolab.castor.builder.descriptors.DescriptorSourceFactory

public final class DescriptorSourceFactory extends Object
A factory for creating the source code of descriptor classes.
Version:
$Revision: 8262 $ $Date: 2006-04-13 07:37:49 -0600 (Thu, 13 Apr 2006) $
Author:
Keith Visco
  • Constructor Details

    • DescriptorSourceFactory

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

    • createSource

      public JClass createSource(ClassInfo classInfo)
      Creates the Source code of a MarshalInfo for a given XML Schema element declaration.
      Parameters:
      classInfo - the XML Schema element declaration
      Returns:
      the JClass representing the MarshalInfo source code