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.SourceFileProcessor;
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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
80
81
82 public final class ManageSourcesCommand extends AbstractSourceFileProcessorCommand
83 {
84
85
86
87
88 protected void processSourceFiles( 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 SourceFileProcessor tool = this.createSourceFileProcessor( commandLine );
117 tool.setModel( model );
118
119 final File sourcesDirectory =
120 new File( commandLine.getOptionValue( this.getSourceDirectoryOption().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.manageSourceFiles( specification, sourcesDirectory );
129 }
130
131 if ( implementation != null )
132 {
133 tool.manageSourceFiles( implementation, sourcesDirectory );
134 }
135
136 if ( module != null )
137 {
138 tool.manageSourceFiles( module, sourcesDirectory );
139 }
140
141 if ( this.isModulesProcessingRequested( commandLine ) )
142 {
143 tool.manageSourceFiles( sourcesDirectory );
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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
194 public ManageSourcesCommand()
195 {
196
197 super();
198
199 }
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216 @SuppressWarnings("unused")
217 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
218 private org.apache.commons.cli.Option getClasspathOption()
219 {
220 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
221 assert _d != null : "'ClasspathOption' dependency not found.";
222 return _d;
223 }
224
225
226
227
228
229
230
231
232
233
234
235
236 @SuppressWarnings("unused")
237 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
238 private org.apache.commons.cli.Option getCountryOption()
239 {
240 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" );
241 assert _d != null : "'CountryOption' dependency not found.";
242 return _d;
243 }
244
245
246
247
248
249
250
251
252
253
254
255
256 @SuppressWarnings("unused")
257 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
258 private org.apache.commons.cli.Option getDefaultTemplateEncodingOption()
259 {
260 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateEncodingOption" );
261 assert _d != null : "'DefaultTemplateEncodingOption' dependency not found.";
262 return _d;
263 }
264
265
266
267
268
269
270
271
272
273
274
275
276 @SuppressWarnings("unused")
277 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
278 private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
279 {
280 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" );
281 assert _d != null : "'DefaultTemplateProfileOption' dependency not found.";
282 return _d;
283 }
284
285
286
287
288
289
290
291
292
293
294
295
296 @SuppressWarnings("unused")
297 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
298 private org.apache.commons.cli.Option getDocumentsOption()
299 {
300 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
301 assert _d != null : "'DocumentsOption' dependency not found.";
302 return _d;
303 }
304
305
306
307
308
309
310
311
312
313
314
315
316 @SuppressWarnings("unused")
317 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
318 private org.apache.commons.cli.Option getImplementationOption()
319 {
320 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" );
321 assert _d != null : "'ImplementationOption' dependency not found.";
322 return _d;
323 }
324
325
326
327
328
329
330
331
332
333
334
335
336 @SuppressWarnings("unused")
337 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
338 private org.apache.commons.cli.Option getIndentationStringOption()
339 {
340 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" );
341 assert _d != null : "'IndentationStringOption' dependency not found.";
342 return _d;
343 }
344
345
346
347
348
349
350
351
352
353
354
355
356 @SuppressWarnings("unused")
357 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
358 private org.apache.commons.cli.Option getInputEncodingOption()
359 {
360 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
361 assert _d != null : "'InputEncodingOption' dependency not found.";
362 return _d;
363 }
364
365
366
367
368
369
370
371
372
373
374
375
376 @SuppressWarnings("unused")
377 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
378 private org.apache.commons.cli.Option getLanguageOption()
379 {
380 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
381 assert _d != null : "'LanguageOption' dependency not found.";
382 return _d;
383 }
384
385
386
387
388
389
390
391
392
393
394
395
396 @SuppressWarnings("unused")
397 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
398 private org.apache.commons.cli.Option getLineSeparatorOption()
399 {
400 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" );
401 assert _d != null : "'LineSeparatorOption' dependency not found.";
402 return _d;
403 }
404
405
406
407
408
409
410
411
412
413
414
415
416 @SuppressWarnings("unused")
417 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
418 private java.util.Locale getLocale()
419 {
420 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
421 assert _d != null : "'Locale' dependency not found.";
422 return _d;
423 }
424
425
426
427
428
429
430
431
432
433
434
435
436 @SuppressWarnings("unused")
437 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
438 private org.apache.commons.cli.Option getLocaleVariantOption()
439 {
440 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" );
441 assert _d != null : "'LocaleVariantOption' dependency not found.";
442 return _d;
443 }
444
445
446
447
448
449
450
451
452
453
454
455
456 @SuppressWarnings("unused")
457 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
458 private org.apache.commons.cli.Option getModelContextFactoryOption()
459 {
460 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
461 assert _d != null : "'ModelContextFactoryOption' dependency not found.";
462 return _d;
463 }
464
465
466
467
468
469
470
471
472
473
474
475
476 @SuppressWarnings("unused")
477 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
478 private org.apache.commons.cli.Option getModelOption()
479 {
480 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
481 assert _d != null : "'ModelOption' dependency not found.";
482 return _d;
483 }
484
485
486
487
488
489
490
491
492
493
494
495
496 @SuppressWarnings("unused")
497 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
498 private org.apache.commons.cli.Option getModletLocationOption()
499 {
500 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
501 assert _d != null : "'ModletLocationOption' dependency not found.";
502 return _d;
503 }
504
505
506
507
508
509
510
511
512
513
514
515
516 @SuppressWarnings("unused")
517 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
518 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
519 {
520 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
521 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
522 return _d;
523 }
524
525
526
527
528
529
530
531
532
533
534
535
536 @SuppressWarnings("unused")
537 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
538 private org.apache.commons.cli.Option getModuleLocationOption()
539 {
540 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
541 assert _d != null : "'ModuleLocationOption' dependency not found.";
542 return _d;
543 }
544
545
546
547
548
549
550
551
552
553
554
555
556 @SuppressWarnings("unused")
557 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
558 private org.apache.commons.cli.Option getModuleNameOption()
559 {
560 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
561 assert _d != null : "'ModuleNameOption' dependency not found.";
562 return _d;
563 }
564
565
566
567
568
569
570
571
572
573
574
575
576 @SuppressWarnings("unused")
577 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
578 private org.apache.commons.cli.Option getNoClasspathResolutionOption()
579 {
580 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
581 assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
582 return _d;
583 }
584
585
586
587
588
589
590
591
592
593
594
595
596 @SuppressWarnings("unused")
597 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
598 private org.apache.commons.cli.Option getNoModelProcessingOption()
599 {
600 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
601 assert _d != null : "'NoModelProcessingOption' dependency not found.";
602 return _d;
603 }
604
605
606
607
608
609
610
611
612
613
614
615
616 @SuppressWarnings("unused")
617 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
618 private org.apache.commons.cli.Option getNoModelResourceValidation()
619 {
620 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
621 assert _d != null : "'NoModelResourceValidation' dependency not found.";
622 return _d;
623 }
624
625
626
627
628
629
630
631
632
633
634
635
636 @SuppressWarnings("unused")
637 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
638 private org.apache.commons.cli.Option getNoModletResourceValidation()
639 {
640 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
641 assert _d != null : "'NoModletResourceValidation' dependency not found.";
642 return _d;
643 }
644
645
646
647
648
649
650
651
652
653
654
655
656 @SuppressWarnings("unused")
657 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
658 private org.apache.commons.cli.Option getNoSourceProcessingOption()
659 {
660 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoSourceProcessingOption" );
661 assert _d != null : "'NoSourceProcessingOption' dependency not found.";
662 return _d;
663 }
664
665
666
667
668
669
670
671
672
673
674
675
676 @SuppressWarnings("unused")
677 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
678 private org.apache.commons.cli.Option getOutputEncodingOption()
679 {
680 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
681 assert _d != null : "'OutputEncodingOption' dependency not found.";
682 return _d;
683 }
684
685
686
687
688
689
690
691
692
693
694
695
696 @SuppressWarnings("unused")
697 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
698 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
699 {
700 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
701 assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
702 return _d;
703 }
704
705
706
707
708
709
710
711
712
713
714
715
716 @SuppressWarnings("unused")
717 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
718 private org.apache.commons.cli.Option getProviderLocationOption()
719 {
720 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
721 assert _d != null : "'ProviderLocationOption' dependency not found.";
722 return _d;
723 }
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750 @SuppressWarnings("unused")
751 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
752 private org.apache.commons.cli.Option getSourceDirectoryOption()
753 {
754 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceDirectoryOption" );
755 assert _d != null : "'SourceDirectoryOption' dependency not found.";
756 return _d;
757 }
758
759
760
761
762
763
764
765
766
767
768
769
770 @SuppressWarnings("unused")
771 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
772 private org.apache.commons.cli.Option getSourceFileProcessorOption()
773 {
774 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceFileProcessorOption" );
775 assert _d != null : "'SourceFileProcessorOption' dependency not found.";
776 return _d;
777 }
778
779
780
781
782
783
784
785
786
787
788
789
790 @SuppressWarnings("unused")
791 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
792 private org.apache.commons.cli.Option getSpecificationOption()
793 {
794 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" );
795 assert _d != null : "'SpecificationOption' dependency not found.";
796 return _d;
797 }
798
799
800
801
802
803
804
805
806
807
808
809
810 @Deprecated
811 @SuppressWarnings("unused")
812 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
813 private org.apache.commons.cli.Option getTemplateEncodingOption()
814 {
815 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
816 assert _d != null : "'TemplateEncodingOption' dependency not found.";
817 return _d;
818 }
819
820
821
822
823
824
825
826
827
828
829
830
831 @SuppressWarnings("unused")
832 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
833 private org.apache.commons.cli.Option getTemplateLocationOption()
834 {
835 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" );
836 assert _d != null : "'TemplateLocationOption' dependency not found.";
837 return _d;
838 }
839
840
841
842
843
844
845
846
847
848
849
850
851 @SuppressWarnings("unused")
852 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
853 private org.apache.commons.cli.Option getTemplateProfileOption()
854 {
855 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" );
856 assert _d != null : "'TemplateProfileOption' dependency not found.";
857 return _d;
858 }
859
860
861
862
863
864
865
866
867
868
869
870
871 @SuppressWarnings("unused")
872 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
873 private org.apache.commons.cli.Option getTransformerLocationOption()
874 {
875 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
876 assert _d != null : "'TransformerLocationOption' dependency not found.";
877 return _d;
878 }
879
880
881
882
883
884
885
886
887
888
889
890
891 @SuppressWarnings("unused")
892 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
893 private java.lang.String getAbbreviatedCommandName()
894 {
895 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
896 assert _p != null : "'abbreviatedCommandName' property not found.";
897 return _p;
898 }
899
900
901
902
903
904
905
906
907 @SuppressWarnings("unused")
908 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
909 private java.lang.String getApplicationModlet()
910 {
911 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
912 assert _p != null : "'applicationModlet' property not found.";
913 return _p;
914 }
915
916
917
918
919
920
921
922
923 @SuppressWarnings("unused")
924 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
925 private java.lang.String getCommandName()
926 {
927 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
928 assert _p != null : "'commandName' property not found.";
929 return _p;
930 }
931
932
933
934
935
936
937
938
939 @SuppressWarnings("unused")
940 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
941 private java.lang.String getModletExcludes()
942 {
943 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
944 assert _p != null : "'modletExcludes' property not found.";
945 return _p;
946 }
947
948
949
950
951
952
953
954
955 @SuppressWarnings("unused")
956 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
957 private java.lang.String getProviderExcludes()
958 {
959 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
960 assert _p != null : "'providerExcludes' property not found.";
961 return _p;
962 }
963
964
965
966
967
968
969
970
971 @SuppressWarnings("unused")
972 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
973 private java.lang.String getSchemaExcludes()
974 {
975 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
976 assert _p != null : "'schemaExcludes' property not found.";
977 return _p;
978 }
979
980
981
982
983
984
985
986
987 @SuppressWarnings("unused")
988 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
989 private java.lang.String getServiceExcludes()
990 {
991 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
992 assert _p != null : "'serviceExcludes' property not found.";
993 return _p;
994 }
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010 @SuppressWarnings("unused")
1011 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1012 private String getApplicationTitle( final java.util.Locale locale )
1013 {
1014 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
1015 assert _m != null : "'applicationTitle' message not found.";
1016 return _m;
1017 }
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032 @SuppressWarnings("unused")
1033 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1034 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1035 {
1036 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
1037 assert _m != null : "'cannotProcessMessage' message not found.";
1038 return _m;
1039 }
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053 @SuppressWarnings("unused")
1054 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1055 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1056 {
1057 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
1058 assert _m != null : "'classpathElementInfo' message not found.";
1059 return _m;
1060 }
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074 @SuppressWarnings("unused")
1075 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1076 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1077 {
1078 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1079 assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1080 return _m;
1081 }
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095 @SuppressWarnings("unused")
1096 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1097 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1098 {
1099 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1100 assert _m != null : "'commandFailureMessage' message not found.";
1101 return _m;
1102 }
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116 @SuppressWarnings("unused")
1117 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1118 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1119 {
1120 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1121 assert _m != null : "'commandInfoMessage' message not found.";
1122 return _m;
1123 }
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137 @SuppressWarnings("unused")
1138 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1139 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1140 {
1141 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1142 assert _m != null : "'commandSuccessMessage' message not found.";
1143 return _m;
1144 }
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158 @SuppressWarnings("unused")
1159 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1160 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1161 {
1162 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1163 assert _m != null : "'defaultLogLevelInfo' message not found.";
1164 return _m;
1165 }
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180 @SuppressWarnings("unused")
1181 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1182 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption )
1183 {
1184 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "deprecatedOptionMessage", locale, deprecatedOption, replacementOption );
1185 assert _m != null : "'deprecatedOptionMessage' message not found.";
1186 return _m;
1187 }
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200 @SuppressWarnings("unused")
1201 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1202 private String getDisabledMessage( final java.util.Locale locale )
1203 {
1204 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale );
1205 assert _m != null : "'disabledMessage' message not found.";
1206 return _m;
1207 }
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221 @SuppressWarnings("unused")
1222 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1223 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1224 {
1225 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1226 assert _m != null : "'documentFileInfo' message not found.";
1227 return _m;
1228 }
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242 @SuppressWarnings("unused")
1243 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1244 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1245 {
1246 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1247 assert _m != null : "'documentFileNotFoundWarning' message not found.";
1248 return _m;
1249 }
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264 @SuppressWarnings("unused")
1265 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1266 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1267 {
1268 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1269 assert _m != null : "'excludedModletInfo' message not found.";
1270 return _m;
1271 }
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286 @SuppressWarnings("unused")
1287 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1288 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1289 {
1290 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1291 assert _m != null : "'excludedProviderInfo' message not found.";
1292 return _m;
1293 }
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308 @SuppressWarnings("unused")
1309 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1310 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1311 {
1312 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1313 assert _m != null : "'excludedSchemaInfo' message not found.";
1314 return _m;
1315 }
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330 @SuppressWarnings("unused")
1331 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1332 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1333 {
1334 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1335 assert _m != null : "'excludedServiceInfo' message not found.";
1336 return _m;
1337 }
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351 @SuppressWarnings("unused")
1352 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1353 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1354 {
1355 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo );
1356 assert _m != null : "'failedCreatingObjectMessage' message not found.";
1357 return _m;
1358 }
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372 @SuppressWarnings("unused")
1373 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1374 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1375 {
1376 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier );
1377 assert _m != null : "'implementationNotFoundWarning' message not found.";
1378 return _m;
1379 }
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393 @SuppressWarnings("unused")
1394 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1395 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1396 {
1397 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1398 assert _m != null : "'invalidModelMessage' message not found.";
1399 return _m;
1400 }
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413 @SuppressWarnings("unused")
1414 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1415 private String getLongDescriptionMessage( final java.util.Locale locale )
1416 {
1417 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1418 assert _m != null : "'longDescriptionMessage' message not found.";
1419 return _m;
1420 }
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434 @SuppressWarnings("unused")
1435 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1436 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1437 {
1438 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName );
1439 assert _m != null : "'moduleNotFoundWarning' message not found.";
1440 return _m;
1441 }
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455 @SuppressWarnings("unused")
1456 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1457 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1458 {
1459 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1460 assert _m != null : "'readingMessage' message not found.";
1461 return _m;
1462 }
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474 @SuppressWarnings("unused")
1475 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1476 private String getSeparator( final java.util.Locale locale )
1477 {
1478 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1479 assert _m != null : "'separator' message not found.";
1480 return _m;
1481 }
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494 @SuppressWarnings("unused")
1495 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1496 private String getShortDescriptionMessage( final java.util.Locale locale )
1497 {
1498 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1499 assert _m != null : "'shortDescriptionMessage' message not found.";
1500 return _m;
1501 }
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515 @SuppressWarnings("unused")
1516 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1517 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1518 {
1519 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier );
1520 assert _m != null : "'specificationNotFoundWarning' message not found.";
1521 return _m;
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
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1668 @Override
1669 public org.apache.commons.cli.Options getOptions()
1670 {
1671 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1672 options.addOption( this.getClasspathOption() );
1673 options.addOption( this.getCountryOption() );
1674 options.addOption( this.getDefaultTemplateEncodingOption() );
1675 options.addOption( this.getDefaultTemplateProfileOption() );
1676 options.addOption( this.getDocumentsOption() );
1677 options.addOption( this.getImplementationOption() );
1678 options.addOption( this.getIndentationStringOption() );
1679 options.addOption( this.getInputEncodingOption() );
1680 options.addOption( this.getLanguageOption() );
1681 options.addOption( this.getLineSeparatorOption() );
1682 options.addOption( this.getLocaleVariantOption() );
1683 options.addOption( this.getModelContextFactoryOption() );
1684 options.addOption( this.getModelOption() );
1685 options.addOption( this.getModletLocationOption() );
1686 options.addOption( this.getModletSchemaSystemIdOption() );
1687 options.addOption( this.getModuleLocationOption() );
1688 options.addOption( this.getModuleNameOption() );
1689 options.addOption( this.getNoClasspathResolutionOption() );
1690 options.addOption( this.getNoModelProcessingOption() );
1691 options.addOption( this.getNoModelResourceValidation() );
1692 options.addOption( this.getNoModletResourceValidation() );
1693 options.addOption( this.getNoSourceProcessingOption() );
1694 options.addOption( this.getOutputEncodingOption() );
1695 options.addOption( this.getPlatformProviderLocationOption() );
1696 options.addOption( this.getProviderLocationOption() );
1697 options.addOption( this.getSourceDirectoryOption() );
1698 options.addOption( this.getSourceFileProcessorOption() );
1699 options.addOption( this.getSpecificationOption() );
1700 options.addOption( this.getTemplateEncodingOption() );
1701 options.addOption( this.getTemplateLocationOption() );
1702 options.addOption( this.getTemplateProfileOption() );
1703 options.addOption( this.getTransformerLocationOption() );
1704 return options;
1705 }
1706
1707
1708 }