ClassNameConflictResolverTypeClassNameConflictResolver, XPATHClassNameConflictResolverpublic abstract class BaseClassNameConflictResolver extends java.lang.Object implements ClassNameConflictResolver
| Constructor | Description |
|---|---|
BaseClassNameConflictResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
calculateXPathPrefix(java.lang.String xpath) |
Calculate XPath prefix.
|
abstract void |
changeClassInfoAsResultOfConflict(JClass jClass,
java.lang.String xpath,
java.lang.String typedXPath,
Annotated annotated) |
Changes the JClass' internal class name, as a result of an XPATH
expression uniquely identifying an XML artefact within an XML schema.
|
protected SourceGenerator |
getSourceGenerator() |
Returns the calling
SourceGenerator instance. |
void |
setSourceGenerator(SourceGenerator sourceGenerator) |
Sets the calling
SourceGenerator instance. |
public abstract void changeClassInfoAsResultOfConflict(JClass jClass, java.lang.String xpath, java.lang.String typedXPath, Annotated annotated)
changeClassInfoAsResultOfConflict in interface ClassNameConflictResolverjClass - The JClass instance whose local name should be
changed.xpath - XPATH expression used to defer the new local class nametypedXPath - typed XPATH expression used to defer the new local class nameannotated - Annotated instanceprotected java.lang.String calculateXPathPrefix(java.lang.String xpath)
xpath - The XPath to be transformed into a class name prefixpublic void setSourceGenerator(SourceGenerator sourceGenerator)
SourceGenerator instance.setSourceGenerator in interface ClassNameConflictResolversourceGenerator - The calling SourceGenerator instance.protected SourceGenerator getSourceGenerator()
SourceGenerator instance.SourceGenerator instanceIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com