ClassNameAllocator and provides convenience.
| Modifier and Type | Field and Description |
|---|---|
| private final ClassNameAllocator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | assignClassName(String packageName, String className)
Implements com. Hook that allows the client of the XJC API to rename some of the JAXB-generated classes. |
| public String | |
| public String |
| core | back to summary |
|---|---|
| private final ClassNameAllocator core | |
| ClassNameAllocatorWrapper | back to summary |
|---|---|
| pack-priv ClassNameAllocatorWrapper(ClassNameAllocator core) | |
| assignClassName | back to summary |
|---|---|
| public String assignClassName(String packageName, String className) Implements com. Doc from com. Hook that allows the client of the XJC API to rename some of the JAXB-generated classes. When registered, this calllbcak is consulted for every package-level classes/interfaces/enums (hereafter, simply "classes") that the JAXB RI generates. Note that the JAXB RI does not use this allocator for nested/inner classes. If the allocator chooses to rename some classes. It is the allocator's responsibility to find unique names. If the returned name collides with other classes, the JAXB RI will report errors.
| |
| assignClassName | back to summary |
|---|---|
| public String assignClassName(JPackage pkg, String className) | |
| assignClassName | back to summary |
|---|---|
| public String assignClassName(CClassInfoParent parent, String className) | |