public class JClassRegistry
extends java.lang.Object
JClass instances already
processed.| Constructor | Description |
|---|---|
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).
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
bind(JClass jClass,
XMLBindingComponent component,
java.lang.String mode) |
Registers a
JClass instance for a given XPATH. |
void |
prebindGlobalElement(java.lang.String xpath) |
Registers the XPATH identifier for a global element definition for
further use.
|
void |
printStatistics(XMLBindingComponent binding) |
Utility method to gather and output statistical information about naming
collisions occurred during source code generation.
|
void |
setClassNameConflictResolver(ClassNameConflictResolver conflictResolver) |
Sets the
ClassNameConflictResolver insatnce to be used. |
public JClassRegistry(ClassNameConflictResolver resolver, JavaNaming javaNaming)
resolver - ClassNameConflictResolver instance to be usedjavaNaming - the JavaNaming to use (must not be null).public void prebindGlobalElement(java.lang.String xpath)
xpath - The XPATH identifier of a global element.public void bind(JClass jClass, XMLBindingComponent component, java.lang.String mode)
JClass instance for a given XPATH.public void setClassNameConflictResolver(ClassNameConflictResolver conflictResolver)
ClassNameConflictResolver insatnce to be used.conflictResolver - ClassNameConflictResolver insatnce to be used.public void printStatistics(XMLBindingComponent binding)
binding - XMLBindingComponent instanceIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com