Interface SDOClassGeneratorListener


public interface SDOClassGeneratorListener

Purpose: Optionally user can implement this interface to provide their own extra content to the generated source files.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This event will be triggered before the attribute declarations on the implementation class
    void
    This event will be triggered before the class declaration on the implementation class
    void
    This event will be triggered before the import declarations on the implementation class
    void
    This event will be triggered before the package declaration on the implementation class
    void
    This event will be triggered before the interface declaration on the interface
    void
    This event will be triggered before the import declarations on the interface
    void
    This event will be triggered before the package declaration on the interface
  • Method Details

    • preInterfacePackage

      void preInterfacePackage(StringBuffer buffer)
      This event will be triggered before the package declaration on the interface
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preImplPackage

      void preImplPackage(StringBuffer buffer)
      This event will be triggered before the package declaration on the implementation class
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preInterfaceImports

      void preInterfaceImports(StringBuffer buffer)
      This event will be triggered before the import declarations on the interface
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preImplImports

      void preImplImports(StringBuffer buffer)
      This event will be triggered before the import declarations on the implementation class
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preInterfaceClass

      void preInterfaceClass(StringBuffer buffer)
      This event will be triggered before the interface declaration on the interface
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preImplClass

      void preImplClass(StringBuffer buffer)
      This event will be triggered before the class declaration on the implementation class
      Parameters:
      buffer - The current StringBuffer that can have content appended to it
    • preImplAttributes

      void preImplAttributes(StringBuffer buffer)
      This event will be triggered before the attribute declarations on the implementation class
      Parameters:
      buffer - The current StringBuffer that can have content appended to it