org.exolab.castor.builder.conflict.strategy
Interface ClassNameConflictResolver

All Known Implementing Classes:
BaseClassNameConflictResolver, TypeClassNameConflictResolver, XPATHClassNameConflictResolver

public interface ClassNameConflictResolver

Class name conflict resolver.

Author:
Werner Guttmann

Method Summary
 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.
 void setSourceGenerator(SourceGenerator sourceGenerator)
          Sets the calling SourceGenerator instance.
 

Method Detail

changeClassInfoAsResultOfConflict

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.

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

void setSourceGenerator(SourceGenerator sourceGenerator)
Sets the calling SourceGenerator instance.

Parameters:
sourceGenerator - The calling SourceGenerator instance.


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