org.exolab.castor.builder.descriptors
Class JDOClassDescriptorFactory
java.lang.Object
org.exolab.castor.builder.descriptors.JDOClassDescriptorFactory
public final class JDOClassDescriptorFactory
- extends Object
A class for creating the source code of JDO-specific descriptor classes.
- Since:
- 1.2.1
- Author:
- Filip Hianik, Vanja Culafic
- See Also:
DescriptorSourceFactory,
JDODescriptorJClass
|
Method Summary |
JClass |
createSource(ClassInfo classInfo)
Creates the Source code of a ClassInfo 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 |
JDOClassDescriptorFactory
public JDOClassDescriptorFactory(BuilderConfiguration config)
- Creates a new
JDOClassDescriptorFactory with the given
configuration.
- Parameters:
config - A BuilderConfiguration instance
createSource
public JClass createSource(ClassInfo classInfo)
- Creates the Source code of a ClassInfo for a given XML Schema element
declaration.
- Parameters:
classInfo - the XML Schema element declaration
- Returns:
- the JClass representing the ClassInfo source code
Copyright © 2012. All Rights Reserved.