1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 package org.jomc.cli.commands;
37
38 import java.io.File;
39 import java.io.IOException;
40 import java.util.logging.Level;
41 import javax.xml.bind.JAXBContext;
42 import javax.xml.bind.JAXBException;
43 import javax.xml.bind.Marshaller;
44 import javax.xml.bind.util.JAXBSource;
45 import javax.xml.transform.Source;
46 import org.apache.commons.cli.CommandLine;
47 import org.jomc.model.Implementation;
48 import org.jomc.model.Module;
49 import org.jomc.model.Specification;
50 import org.jomc.modlet.Model;
51 import org.jomc.modlet.ModelContext;
52 import org.jomc.modlet.ModelException;
53 import org.jomc.modlet.ModelValidationReport;
54 import org.jomc.modlet.ObjectFactory;
55 import org.jomc.tools.ResourceFileProcessor;
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
80
81
82 public final class GenerateResourcesCommand extends AbstractResourceFileProcessorCommand
83 {
84
85
86
87
88 protected void processResourceFiles( final CommandLine commandLine ) throws CommandExecutionException
89 {
90 if ( commandLine == null )
91 {
92 throw new NullPointerException( "commandLine" );
93 }
94
95 CommandLineClassLoader classLoader = null;
96 boolean suppressExceptionOnClose = true;
97
98 try
99 {
100 classLoader = new CommandLineClassLoader( commandLine );
101 final ModelContext context = this.createModelContext( commandLine, classLoader );
102 final Model model = this.getModel( context, commandLine );
103 final JAXBContext jaxbContext = context.createContext( model.getIdentifier() );
104 final Marshaller marshaller = context.createMarshaller( model.getIdentifier() );
105 final Source source = new JAXBSource( jaxbContext, new ObjectFactory().createModel( model ) );
106 final ModelValidationReport validationReport = context.validateModel( model.getIdentifier(), source );
107 this.log( validationReport, marshaller );
108
109 if ( !validationReport.isModelValid() )
110 {
111 throw new CommandExecutionException( this.getInvalidModelMessage(
112 this.getLocale(), this.getModel( commandLine ) ) );
113
114 }
115
116 final ResourceFileProcessor tool = this.createResourceFileProcessor( commandLine );
117 tool.setModel( model );
118
119 final File resourcesDirectory =
120 new File( commandLine.getOptionValue( this.getResourceDirectoryOption().getOpt() ) );
121
122 final Specification specification = this.getSpecification( commandLine, model );
123 final Implementation implementation = this.getImplementation( commandLine, model );
124 final Module module = this.getModule( commandLine, model );
125
126 if ( specification != null )
127 {
128 tool.writeResourceBundleResourceFiles( specification, resourcesDirectory );
129 }
130
131 if ( implementation != null )
132 {
133 tool.writeResourceBundleResourceFiles( implementation, resourcesDirectory );
134 }
135
136 if ( module != null )
137 {
138 tool.writeResourceBundleResourceFiles( module, resourcesDirectory );
139 }
140
141 if ( this.isModulesProcessingRequested( commandLine ) )
142 {
143 tool.writeResourceBundleResourceFiles( resourcesDirectory );
144 }
145
146 suppressExceptionOnClose = false;
147 }
148 catch ( final JAXBException e )
149 {
150 String message = getExceptionMessage( e );
151 if ( message == null )
152 {
153 message = getExceptionMessage( e.getLinkedException() );
154 }
155
156 throw new CommandExecutionException( message, e );
157 }
158 catch ( final ModelException e )
159 {
160 throw new CommandExecutionException( getExceptionMessage( e ), e );
161 }
162 catch ( final IOException e )
163 {
164 throw new CommandExecutionException( getExceptionMessage( e ), e );
165 }
166 finally
167 {
168 try
169 {
170 if ( classLoader != null )
171 {
172 classLoader.close();
173 }
174 }
175 catch ( final IOException e )
176 {
177 if ( suppressExceptionOnClose )
178 {
179 this.log( Level.SEVERE, getExceptionMessage( e ), e );
180 }
181 else
182 {
183 throw new CommandExecutionException( getExceptionMessage( e ), e );
184 }
185 }
186 }
187 }
188
189
190
191
192
193 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
194 public GenerateResourcesCommand()
195 {
196
197 super();
198
199 }
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
217 private org.apache.commons.cli.Option getClasspathOption()
218 {
219 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
220 assert _d != null : "'ClasspathOption' dependency not found.";
221 return _d;
222 }
223
224
225
226
227
228
229
230
231
232
233
234
235 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
236 private org.apache.commons.cli.Option getCountryOption()
237 {
238 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" );
239 assert _d != null : "'CountryOption' dependency not found.";
240 return _d;
241 }
242
243
244
245
246
247
248
249
250
251
252
253
254 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
255 private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
256 {
257 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" );
258 assert _d != null : "'DefaultTemplateProfileOption' dependency not found.";
259 return _d;
260 }
261
262
263
264
265
266
267
268
269
270
271
272
273 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
274 private org.apache.commons.cli.Option getDocumentsOption()
275 {
276 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
277 assert _d != null : "'DocumentsOption' dependency not found.";
278 return _d;
279 }
280
281
282
283
284
285
286
287
288
289
290
291
292 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
293 private org.apache.commons.cli.Option getImplementationOption()
294 {
295 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" );
296 assert _d != null : "'ImplementationOption' dependency not found.";
297 return _d;
298 }
299
300
301
302
303
304
305
306
307
308
309
310
311 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
312 private org.apache.commons.cli.Option getIndentationStringOption()
313 {
314 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" );
315 assert _d != null : "'IndentationStringOption' dependency not found.";
316 return _d;
317 }
318
319
320
321
322
323
324
325
326
327
328
329
330 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
331 private org.apache.commons.cli.Option getInputEncodingOption()
332 {
333 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
334 assert _d != null : "'InputEncodingOption' dependency not found.";
335 return _d;
336 }
337
338
339
340
341
342
343
344
345
346
347
348
349 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
350 private org.apache.commons.cli.Option getLanguageOption()
351 {
352 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
353 assert _d != null : "'LanguageOption' dependency not found.";
354 return _d;
355 }
356
357
358
359
360
361
362
363
364
365
366
367
368 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
369 private org.apache.commons.cli.Option getLineSeparatorOption()
370 {
371 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" );
372 assert _d != null : "'LineSeparatorOption' dependency not found.";
373 return _d;
374 }
375
376
377
378
379
380
381
382
383
384
385
386
387 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
388 private java.util.Locale getLocale()
389 {
390 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
391 assert _d != null : "'Locale' dependency not found.";
392 return _d;
393 }
394
395
396
397
398
399
400
401
402
403
404
405
406 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
407 private org.apache.commons.cli.Option getLocaleVariantOption()
408 {
409 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" );
410 assert _d != null : "'LocaleVariantOption' dependency not found.";
411 return _d;
412 }
413
414
415
416
417
418
419
420
421
422
423
424
425 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
426 private org.apache.commons.cli.Option getModelContextFactoryOption()
427 {
428 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
429 assert _d != null : "'ModelContextFactoryOption' dependency not found.";
430 return _d;
431 }
432
433
434
435
436
437
438
439
440
441
442
443
444 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
445 private org.apache.commons.cli.Option getModelOption()
446 {
447 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
448 assert _d != null : "'ModelOption' dependency not found.";
449 return _d;
450 }
451
452
453
454
455
456
457
458
459
460
461
462
463 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
464 private org.apache.commons.cli.Option getModletLocationOption()
465 {
466 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
467 assert _d != null : "'ModletLocationOption' dependency not found.";
468 return _d;
469 }
470
471
472
473
474
475
476
477
478
479
480
481
482 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
483 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
484 {
485 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
486 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
487 return _d;
488 }
489
490
491
492
493
494
495
496
497
498
499
500
501 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
502 private org.apache.commons.cli.Option getModuleLocationOption()
503 {
504 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
505 assert _d != null : "'ModuleLocationOption' dependency not found.";
506 return _d;
507 }
508
509
510
511
512
513
514
515
516
517
518
519
520 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
521 private org.apache.commons.cli.Option getModuleNameOption()
522 {
523 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
524 assert _d != null : "'ModuleNameOption' dependency not found.";
525 return _d;
526 }
527
528
529
530
531
532
533
534
535
536
537
538
539 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
540 private org.apache.commons.cli.Option getNoClasspathResolutionOption()
541 {
542 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
543 assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
544 return _d;
545 }
546
547
548
549
550
551
552
553
554
555
556
557
558 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
559 private org.apache.commons.cli.Option getNoModelProcessingOption()
560 {
561 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
562 assert _d != null : "'NoModelProcessingOption' dependency not found.";
563 return _d;
564 }
565
566
567
568
569
570
571
572
573
574
575
576
577 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
578 private org.apache.commons.cli.Option getNoModelResourceValidation()
579 {
580 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
581 assert _d != null : "'NoModelResourceValidation' dependency not found.";
582 return _d;
583 }
584
585
586
587
588
589
590
591
592
593
594
595
596 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
597 private org.apache.commons.cli.Option getNoModletResourceValidation()
598 {
599 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
600 assert _d != null : "'NoModletResourceValidation' dependency not found.";
601 return _d;
602 }
603
604
605
606
607
608
609
610
611
612
613
614
615 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
616 private org.apache.commons.cli.Option getNoResourceProcessingOption()
617 {
618 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoResourceProcessingOption" );
619 assert _d != null : "'NoResourceProcessingOption' dependency not found.";
620 return _d;
621 }
622
623
624
625
626
627
628
629
630
631
632
633
634 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
635 private org.apache.commons.cli.Option getOutputEncodingOption()
636 {
637 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
638 assert _d != null : "'OutputEncodingOption' dependency not found.";
639 return _d;
640 }
641
642
643
644
645
646
647
648
649
650
651
652
653 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
654 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
655 {
656 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
657 assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
658 return _d;
659 }
660
661
662
663
664
665
666
667
668
669
670
671
672 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
673 private org.apache.commons.cli.Option getProviderLocationOption()
674 {
675 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
676 assert _d != null : "'ProviderLocationOption' dependency not found.";
677 return _d;
678 }
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
706 private org.apache.commons.cli.Option getResourceDirectoryOption()
707 {
708 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourceDirectoryOption" );
709 assert _d != null : "'ResourceDirectoryOption' dependency not found.";
710 return _d;
711 }
712
713
714
715
716
717
718
719
720
721
722
723
724 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
725 private org.apache.commons.cli.Option getResourceFileProcessorOption()
726 {
727 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourceFileProcessorOption" );
728 assert _d != null : "'ResourceFileProcessorOption' dependency not found.";
729 return _d;
730 }
731
732
733
734
735
736
737
738
739
740
741
742
743 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
744 private org.apache.commons.cli.Option getSpecificationOption()
745 {
746 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" );
747 assert _d != null : "'SpecificationOption' dependency not found.";
748 return _d;
749 }
750
751
752
753
754
755
756
757
758
759
760
761
762 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
763 private org.apache.commons.cli.Option getTemplateEncodingOption()
764 {
765 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
766 assert _d != null : "'TemplateEncodingOption' dependency not found.";
767 return _d;
768 }
769
770
771
772
773
774
775
776
777
778
779
780
781 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
782 private org.apache.commons.cli.Option getTemplateLocationOption()
783 {
784 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" );
785 assert _d != null : "'TemplateLocationOption' dependency not found.";
786 return _d;
787 }
788
789
790
791
792
793
794
795
796
797
798
799
800 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
801 private org.apache.commons.cli.Option getTemplateProfileOption()
802 {
803 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" );
804 assert _d != null : "'TemplateProfileOption' dependency not found.";
805 return _d;
806 }
807
808
809
810
811
812
813
814
815
816
817
818
819 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
820 private org.apache.commons.cli.Option getTransformerLocationOption()
821 {
822 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
823 assert _d != null : "'TransformerLocationOption' dependency not found.";
824 return _d;
825 }
826
827
828
829
830
831
832
833
834
835
836
837
838 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
839 private java.lang.String getAbbreviatedCommandName()
840 {
841 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
842 assert _p != null : "'abbreviatedCommandName' property not found.";
843 return _p;
844 }
845
846
847
848
849
850
851
852
853 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
854 private java.lang.String getApplicationModlet()
855 {
856 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
857 assert _p != null : "'applicationModlet' property not found.";
858 return _p;
859 }
860
861
862
863
864
865
866
867
868 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
869 private java.lang.String getCommandName()
870 {
871 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
872 assert _p != null : "'commandName' property not found.";
873 return _p;
874 }
875
876
877
878
879
880
881
882
883 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
884 private java.lang.String getModletExcludes()
885 {
886 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
887 assert _p != null : "'modletExcludes' property not found.";
888 return _p;
889 }
890
891
892
893
894
895
896
897
898 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
899 private java.lang.String getProviderExcludes()
900 {
901 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
902 assert _p != null : "'providerExcludes' property not found.";
903 return _p;
904 }
905
906
907
908
909
910
911
912
913 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
914 private java.lang.String getSchemaExcludes()
915 {
916 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
917 assert _p != null : "'schemaExcludes' property not found.";
918 return _p;
919 }
920
921
922
923
924
925
926
927
928 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
929 private java.lang.String getServiceExcludes()
930 {
931 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
932 assert _p != null : "'serviceExcludes' property not found.";
933 return _p;
934 }
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
951 private String getApplicationTitle( final java.util.Locale locale )
952 {
953 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
954 assert _m != null : "'applicationTitle' message not found.";
955 return _m;
956 }
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
972 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
973 {
974 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
975 assert _m != null : "'cannotProcessMessage' message not found.";
976 return _m;
977 }
978
979
980
981
982
983
984
985
986
987
988
989
990
991 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
992 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
993 {
994 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
995 assert _m != null : "'classpathElementInfo' message not found.";
996 return _m;
997 }
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1012 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1013 {
1014 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1015 assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1016 return _m;
1017 }
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1032 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1033 {
1034 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1035 assert _m != null : "'commandFailureMessage' message not found.";
1036 return _m;
1037 }
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1052 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1053 {
1054 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1055 assert _m != null : "'commandInfoMessage' message not found.";
1056 return _m;
1057 }
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1072 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1073 {
1074 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1075 assert _m != null : "'commandSuccessMessage' message not found.";
1076 return _m;
1077 }
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1092 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1093 {
1094 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1095 assert _m != null : "'defaultLogLevelInfo' message not found.";
1096 return _m;
1097 }
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1111 private String getDisabledMessage( final java.util.Locale locale )
1112 {
1113 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale );
1114 assert _m != null : "'disabledMessage' message not found.";
1115 return _m;
1116 }
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1131 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1132 {
1133 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1134 assert _m != null : "'documentFileInfo' message not found.";
1135 return _m;
1136 }
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1151 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1152 {
1153 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1154 assert _m != null : "'documentFileNotFoundWarning' message not found.";
1155 return _m;
1156 }
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1172 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1173 {
1174 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1175 assert _m != null : "'excludedModletInfo' message not found.";
1176 return _m;
1177 }
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1193 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1194 {
1195 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1196 assert _m != null : "'excludedProviderInfo' message not found.";
1197 return _m;
1198 }
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1214 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1215 {
1216 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1217 assert _m != null : "'excludedSchemaInfo' message not found.";
1218 return _m;
1219 }
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1235 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1236 {
1237 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1238 assert _m != null : "'excludedServiceInfo' message not found.";
1239 return _m;
1240 }
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1255 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1256 {
1257 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo );
1258 assert _m != null : "'failedCreatingObjectMessage' message not found.";
1259 return _m;
1260 }
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1275 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1276 {
1277 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier );
1278 assert _m != null : "'implementationNotFoundWarning' message not found.";
1279 return _m;
1280 }
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1295 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1296 {
1297 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1298 assert _m != null : "'invalidModelMessage' message not found.";
1299 return _m;
1300 }
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1314 private String getLongDescriptionMessage( final java.util.Locale locale )
1315 {
1316 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1317 assert _m != null : "'longDescriptionMessage' message not found.";
1318 return _m;
1319 }
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1334 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1335 {
1336 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName );
1337 assert _m != null : "'moduleNotFoundWarning' message not found.";
1338 return _m;
1339 }
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1354 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1355 {
1356 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1357 assert _m != null : "'readingMessage' message not found.";
1358 return _m;
1359 }
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1372 private String getSeparator( final java.util.Locale locale )
1373 {
1374 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1375 assert _m != null : "'separator' message not found.";
1376 return _m;
1377 }
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1391 private String getShortDescriptionMessage( final java.util.Locale locale )
1392 {
1393 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1394 assert _m != null : "'shortDescriptionMessage' message not found.";
1395 return _m;
1396 }
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1411 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1412 {
1413 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier );
1414 assert _m != null : "'specificationNotFoundWarning' message not found.";
1415 return _m;
1416 }
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1558 @Override
1559 public org.apache.commons.cli.Options getOptions()
1560 {
1561 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1562 options.addOption( this.getClasspathOption() );
1563 options.addOption( this.getCountryOption() );
1564 options.addOption( this.getDefaultTemplateProfileOption() );
1565 options.addOption( this.getDocumentsOption() );
1566 options.addOption( this.getImplementationOption() );
1567 options.addOption( this.getIndentationStringOption() );
1568 options.addOption( this.getInputEncodingOption() );
1569 options.addOption( this.getLanguageOption() );
1570 options.addOption( this.getLineSeparatorOption() );
1571 options.addOption( this.getLocaleVariantOption() );
1572 options.addOption( this.getModelContextFactoryOption() );
1573 options.addOption( this.getModelOption() );
1574 options.addOption( this.getModletLocationOption() );
1575 options.addOption( this.getModletSchemaSystemIdOption() );
1576 options.addOption( this.getModuleLocationOption() );
1577 options.addOption( this.getModuleNameOption() );
1578 options.addOption( this.getNoClasspathResolutionOption() );
1579 options.addOption( this.getNoModelProcessingOption() );
1580 options.addOption( this.getNoModelResourceValidation() );
1581 options.addOption( this.getNoModletResourceValidation() );
1582 options.addOption( this.getNoResourceProcessingOption() );
1583 options.addOption( this.getOutputEncodingOption() );
1584 options.addOption( this.getPlatformProviderLocationOption() );
1585 options.addOption( this.getProviderLocationOption() );
1586 options.addOption( this.getResourceDirectoryOption() );
1587 options.addOption( this.getResourceFileProcessorOption() );
1588 options.addOption( this.getSpecificationOption() );
1589 options.addOption( this.getTemplateEncodingOption() );
1590 options.addOption( this.getTemplateLocationOption() );
1591 options.addOption( this.getTemplateProfileOption() );
1592 options.addOption( this.getTransformerLocationOption() );
1593 return options;
1594 }
1595
1596
1597 }