println("  private " + factory + " factory = null;");
    protected void genConstructor(String className) {        println("  private " + factory + " factory = null;");        println("  public " + className + "(" + factory + " factory) {");        println("     super(factory.getPureFactory());");        println("     this.factory = factory;");        println("  }");        println();    }