org.exolab.castor.builder
Class DescriptorSourceFactory

java.lang.Object
  extended by org.exolab.castor.builder.DescriptorSourceFactory

public class DescriptorSourceFactory
extends java.lang.Object

A factory for creating the source code of descriptor classes

Version:
$Revision: 1.9 $ $Date: 2005/09/12 04:09:22 $
Author:
Keith Visco

Constructor Summary
DescriptorSourceFactory(BuilderConfiguration config)
          Creates a new DescriptorSourceFactory with the given configuration
 
Method Summary
 JClass createSource(ClassInfo classInfo)
          Creates the Source code of a MarshalInfo for a given XML Schema element declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorSourceFactory

public DescriptorSourceFactory(BuilderConfiguration config)
Creates a new DescriptorSourceFactory with the given configuration

Parameters:
config - the BuilderConfiguration instance
Method Detail

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


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com