Examples of endType()


Examples of com.hannesdorfmann.fragmentargs.repacked.com.squareup.javawriter.JavaWriter.endType()

        writeInjectMethod(jw, entry.getKey(),
            collectArgumentsForType(typeUtils, entry.getKey(), fieldsByType, false, false));
        writeBuildMethod(jw, entry.getKey());
        writeBuildSubclassMethod(jw, entry.getKey());
        jw.endType();
        jw.close();

        autoMapping.put(qualifiedFragmentName, qualifiedBuilderName);
      } catch (IOException e) {
        error(entry.getKey(), "Unable to write builder for type %s: %s", entry.getKey(),
View Full Code Here

Examples of com.hannesdorfmann.fragmentargs.repacked.com.squareup.javawriter.JavaWriter.endType()

      }

      // End Mapping method
      jw.endMethod();

      jw.endType();
      jw.close();
    } catch (IOException e) {
      error(null, "Unable to write the automapping class for builder to fragment: %s: %s",
          FragmentArgs.AUTO_MAPPING_QUALIFIED_CLASS, e.getMessage());
View Full Code Here

Examples of com.squareup.javawriter.JavaWriter.endType()

    emitDeleteWithId(javaWriter);
    emitDeleteWithObject(javaWriter);
    emitMapCursorToObject(javaWriter);
    emitSelectById(javaWriter);
    emitByteArraySerialization(javaWriter);
    javaWriter.endType();
  }

  /** Create a way to get an id for foreign keys */
  private void emitGetId(JavaWriter javaWriter) throws IOException {
    logger.d("emitGetId");
View Full Code Here

Examples of com.squareup.javawriter.JavaWriter.endType()

    emitDeleteWithObject(javaWriter);
    emitMapCursorToObject(javaWriter);
    emitSingleMap(javaWriter);
    emitSelectById(javaWriter);
    emitByteArraySerialization(javaWriter);
    javaWriter.endType();
  }

  /** Create a way to get an id for foreign keys */
  private void emitGetId(JavaWriter javaWriter) throws IOException {
    logger.d("emitGetId");
View Full Code Here

Examples of com.squareup.javawriter.JavaWriter.endType()

              });
      writer.emitStatement("return create(%s)", argumentJoiner.join(creationParameterNames));
      writer.endMethod();
    }

    writer.endType();
    writer.close();
  }

  private static String[] parameterTokens(Collection<Parameter> parameters) {
    List<String> parameterTokens =
View Full Code Here

Examples of com.squareup.javawriter.JavaWriter.endType()

            } else if (item instanceof String) {
                writer.emitSingleLineComment((String) item);
            }
        }

        writer.endType();

        out.close();
    }
}
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.endType()

        builder.startType("type");
        builder.setRegexpPathRecogniser(filename);
        builder.addRegexpContentRecogniser(version1, inputData);
        builder.addStep(version1, version2,
                new TestStreamMigrator(inputData, outputData));
        builder.endType();

        ResourceMigrator resourceMigrator = builder.getCompletedResourceMigrator();

        ByteArrayInputStream bais = new ByteArrayInputStream(
                inputData.getBytes());
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.endType()

                PolicySchemas.MARLIN_LPDM_2005_09.getLocationURL());
        XSLStreamMigratorBuilder xslBuilder =
                builder.createXSLStreamMigratorBuilder();
        xslBuilder.setXSL("../../config/lpdm/xsl/lpdm-v30-to-200509.xsl");
        builder.addStep(v30, v35, xslBuilder.getCompletedMigrator());
        builder.endType();

        /*ResourceMigrator migrator = */builder.getCompletedResourceMigrator();

    }
}
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.endType()

        // Add schema for 2006/02
        xslBuilder.addOutputSchemata(PolicySchemas.REPOSITORY_2006_02);
        builder.addStep(repository200512, repository200602,
                xslBuilder.getCompletedMigrator());

        builder.endType();

        return builder.getCompletedResourceMigrator();
    }

    // Javadoc inherited
View Full Code Here

Examples of com.volantis.mcs.migrate.impl.framework.DefaultResourceMigratorBuilder.endType()

                    mockContentRecogniser1);

            builder.addCustomContentRecogniser(mockContentVersion2,
                    mockContentRecogniser2);

            builder.endType();
        }

        {
            builder.startType("regexp type");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.