Interface ClassNameConflictResolver

All Known Implementing Classes:
BaseClassNameConflictResolver, TypeClassNameConflictResolver, XPATHClassNameConflictResolver

public interface ClassNameConflictResolver
Class name conflict resolver.
Author:
Werner Guttmann
  • Method Details

    • changeClassInfoAsResultOfConflict

      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

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