org.exolab.castor.builder.conflict.strategy

Interface ClassNameConflictResolver

Known Implementing Classes:
BaseClassNameConflictResolver, TypeClassNameConflictResolver, XPATHClassNameConflictResolver

public interface ClassNameConflictResolver

Class name conflict resolver.
Author:
Werner Guttmann

Method Summary

void
changeClassInfoAsResultOfConflict(JClass jClass, String xpath, 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.
void
setSourceGenerator(SourceGenerator sourceGenerator)
Sets the calling SourceGenerator instance.

Method Details

changeClassInfoAsResultOfConflict

public void changeClassInfoAsResultOfConflict(JClass jClass,
                                              String xpath,
                                              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.
Parameters:
jClass - The JClass instance whose local name should be changed.
xpath - XPATH expression used to defer the new local class name
typedXPath - XPATH expression used to defer the new local class name
annotated - Annotated instance

setSourceGenerator

public void setSourceGenerator(SourceGenerator sourceGenerator)
Sets the calling SourceGenerator instance.
Parameters:
sourceGenerator - The calling SourceGenerator instance.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com