org.exolab.castor.builder
Class JClassRegistry
java.lang.Object
org.exolab.castor.builder.JClassRegistry
public class JClassRegistry
extends java.lang.Object
A registry for maintaing information about
JClass
instances already
processed.
JClassRegistry
public JClassRegistry(ClassNameConflictResolver resolver,
JavaNaming javaNaming)
Creates an instance of this class, providing the class anme conflict
resolver to be used during automatic class name conflict resolution
(for local element conflicts).
bind
public void bind(JClass jClass,
XMLBindingComponent component,
String mode)
Registers a
JClass
instance for a given XPATH.
jClass
- The JClass
instance to register.component
- Container for the Annotated
instance referred to by the XPATH.mode
- Whether we register JClass instances in 'field' or 'class'mode.
prebindGlobalElement
public void prebindGlobalElement(String xpath)
Registers the XPATH identifier for a global element definition for
further use.
xpath
- The XPATH identifier of a global element.
printStatistics
public void printStatistics(XMLBindingComponent binding)
Utility method to hgather and output statistical information about naming
collisions occured during source code generation.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com