public Generator() { fieldGeneratorName = new JSONHoldingStringGenerator("field \"Name\" of the DrinkRecipe class"); fieldGeneratorGlass = new JSONHoldingStringGenerator("field \"Glass\" of the DrinkRecipe class"); fieldGeneratorImage = new JSONHoldingStringGenerator("field \"Image\" of the DrinkRecipe class"); fieldGeneratorTags = new FieldHoldingArrayGeneratorTags("field \"Tags\" of the DrinkRecipe class"); fieldGeneratorIngredients = new DrinkIngredientJSON.HoldingArrayGenerator("field \"Ingredients\" of the DrinkRecipe class", false); unknownFieldGenerator = new UnknownFieldGenerator(false); set_what("the DrinkRecipe class"); allow_incomplete = false; allow_unpolished = false; }
public ElementHandler(FieldHoldingArrayGeneratorTags init_top) { top = init_top; }