예제 #1
0
 public Generator() : base(false)
 {
     fieldGeneratorTitle               = new JSONHoldingStringGenerator("field \"Title\" of the SimpleTextTemplate class");
     fieldGeneratorSubtitle            = new JSONHoldingStringGenerator("field \"Subtitle\" of the SimpleTextTemplate class");
     fieldGeneratorFooter              = new JSONHoldingStringGenerator("field \"Footer\" of the SimpleTextTemplate class");
     fieldGeneratorActionAndroidIntent = new AndroidIntentJSON.HoldingGenerator("field \"ActionAndroidIntent\" of the SimpleTextTemplate class", false);
     fieldGeneratorActionURIs          = new JSONHoldingStringArrayGenerator("field \"ActionURIs\" of the SimpleTextTemplate class");
     unknownFieldGenerator             = new UnknownFieldGenerator(false);
     set_what("the SimpleTextTemplate class");
 }
 public Generator(bool ignore_extras) : base(ignore_extras)
 {
     fieldGeneratorTitle               = new JSONHoldingStringGenerator("field \"Title\" of the DescriptiveTextTemplate class");
     fieldGeneratorSecondaryTitle      = new JSONHoldingStringGenerator("field \"SecondaryTitle\" of the DescriptiveTextTemplate class");
     fieldGeneratorSection1            = new JSONHoldingStringGenerator("field \"Section1\" of the DescriptiveTextTemplate class");
     fieldGeneratorSection2            = new JSONHoldingStringGenerator("field \"Section2\" of the DescriptiveTextTemplate class");
     fieldGeneratorFooter              = new JSONHoldingStringGenerator("field \"Footer\" of the DescriptiveTextTemplate class");
     fieldGeneratorActionAndroidIntent = new AndroidIntentJSON.HoldingGenerator("field \"ActionAndroidIntent\" of the DescriptiveTextTemplate class", ignore_extras);
     fieldGeneratorActionURIs          = new JSONHoldingStringArrayGenerator("field \"ActionURIs\" of the DescriptiveTextTemplate class");
     unknownFieldGenerator             = new UnknownFieldGenerator(ignore_extras);
     set_what("the DescriptiveTextTemplate class");
 }