Class PrintGenerator

java.lang.Object
org.glassfish.rmic.iiop.PrintGenerator
All Implemented Interfaces:
Constants, Generator, Constants, Constants, RuntimeConstants

public class PrintGenerator extends Object implements Generator, Constants
An IDL generator for rmic.
Author:
Bryan Atsatt
  • Constructor Details

    • PrintGenerator

      public PrintGenerator()
      Default constructor for Main to use.
  • Method Details

    • parseArgs

      public boolean parseArgs(String[] argv, Main main)
      Examine and consume command line arguments.
      Specified by:
      parseArgs in interface Generator
      Parameters:
      argv - The command line arguments. Ignore null
      error - Report any errors using the main.error() methods.
      Returns:
      true if no errors, false otherwise.
    • generate

      public void generate(BatchEnvironment env, File destDir, ClassDefinition cdef)
      Generate output. Any source files created which need compilation should be added to the compiler environment using the addGeneratedFile(File) method.
      Specified by:
      generate in interface Generator
      Parameters:
      env - The compiler environment
      destDir - The directory for the root of the package hierarchy
      cdef - The definition for the implementation class or interface from which to generate output