|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.builder.conflict.strategy.BaseClassNameConflictResolver
public abstract class BaseClassNameConflictResolver
Base class for class name conflict resolver implementations.
| Constructor Summary | |
|---|---|
BaseClassNameConflictResolver()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseClassNameConflictResolver()
| Method Detail |
|---|
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 prefix
public void setSourceGenerator(SourceGenerator sourceGenerator)
SourceGenerator instance.
setSourceGenerator in interface ClassNameConflictResolversourceGenerator - The calling SourceGenerator instance.protected SourceGenerator getSourceGenerator()
SourceGenerator instance.
SourceGenerator instance
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||