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.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
217 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Classpath Option" );
221 assert _d != null : "'Classpath Option' dependency not found.";
222 return _d;
223 }
224
225
226
227
228
229
230
231
232
233
234
235
236 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
237 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Country Option" );
241 assert _d != null : "'Country Option' dependency not found.";
242 return _d;
243 }
244
245
246
247
248
249
250
251
252
253
254
255
256 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
257 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Default Template Encoding Option" );
261 assert _d != null : "'Default Template Encoding Option' dependency not found.";
262 return _d;
263 }
264
265
266
267
268
269
270
271
272
273
274
275
276 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
277 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Default Template Profile Option" );
281 assert _d != null : "'Default Template Profile Option' dependency not found.";
282 return _d;
283 }
284
285
286
287
288
289
290
291
292
293
294
295
296 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
297 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Documents Option" );
301 assert _d != null : "'Documents Option' dependency not found.";
302 return _d;
303 }
304
305
306
307
308
309
310
311
312
313
314
315
316 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
317 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Implementation Option" );
321 assert _d != null : "'Implementation Option' dependency not found.";
322 return _d;
323 }
324
325
326
327
328
329
330
331
332
333
334
335
336 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
337 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Indentation String Option" );
341 assert _d != null : "'Indentation String Option' dependency not found.";
342 return _d;
343 }
344
345
346
347
348
349
350
351
352
353
354
355
356 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
357 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Input Encoding Option" );
361 assert _d != null : "'Input Encoding Option' dependency not found.";
362 return _d;
363 }
364
365
366
367
368
369
370
371
372
373
374
375
376 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
377 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Language Option" );
381 assert _d != null : "'Language Option' dependency not found.";
382 return _d;
383 }
384
385
386
387
388
389
390
391
392
393
394
395
396 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
397 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Line Separator Option" );
401 assert _d != null : "'Line Separator Option' dependency not found.";
402 return _d;
403 }
404
405
406
407
408
409
410
411
412
413
414
415
416 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
417 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
437 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Locale Variant Option" );
441 assert _d != null : "'Locale Variant Option' dependency not found.";
442 return _d;
443 }
444
445
446
447
448
449
450
451
452
453
454
455
456 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
457 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Model Context Factory Option" );
461 assert _d != null : "'Model Context Factory Option' dependency not found.";
462 return _d;
463 }
464
465
466
467
468
469
470
471
472
473
474
475
476 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
477 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Model Option" );
481 assert _d != null : "'Model Option' dependency not found.";
482 return _d;
483 }
484
485
486
487
488
489
490
491
492
493
494
495
496 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
497 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Modlet Location Option" );
501 assert _d != null : "'Modlet Location Option' dependency not found.";
502 return _d;
503 }
504
505
506
507
508
509
510
511
512
513
514
515
516 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
517 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Modlet Schema System Id Option" );
521 assert _d != null : "'Modlet Schema System Id Option' dependency not found.";
522 return _d;
523 }
524
525
526
527
528
529
530
531
532
533
534
535
536 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
537 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Module Location Option" );
541 assert _d != null : "'Module Location Option' dependency not found.";
542 return _d;
543 }
544
545
546
547
548
549
550
551
552
553
554
555
556 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
557 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "Module Name Option" );
561 assert _d != null : "'Module Name Option' dependency not found.";
562 return _d;
563 }
564
565
566
567
568
569
570
571
572
573
574
575
576 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
577 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
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, "No Classpath Resolution Option" );
581 assert _d != null : "'No Classpath Resolution Option' dependency not found.";
582 return _d;
583 }
584
585
586
587
588
589
590
591
592
593
594
595
596 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
597 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
598 private org.apache.commons.cli.Option getNoJavaValidationOption()
599 {
600 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Java Validation Option" );
601 assert _d != null : "'No Java Validation Option' dependency not found.";
602 return _d;
603 }
604
605
606
607
608
609
610
611
612
613
614
615
616 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
617 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
618 private org.apache.commons.cli.Option getNoModelProcessingOption()
619 {
620 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Processing Option" );
621 assert _d != null : "'No Model Processing Option' dependency not found.";
622 return _d;
623 }
624
625
626
627
628
629
630
631
632
633
634
635
636 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
637 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
638 private org.apache.commons.cli.Option getNoModelResourceValidation()
639 {
640 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Resource Validation" );
641 assert _d != null : "'No Model Resource Validation' dependency not found.";
642 return _d;
643 }
644
645
646
647
648
649
650
651
652
653
654
655
656 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
657 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
658 private org.apache.commons.cli.Option getNoModletResourceValidation()
659 {
660 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Modlet Resource Validation" );
661 assert _d != null : "'No Modlet Resource Validation' dependency not found.";
662 return _d;
663 }
664
665
666
667
668
669
670
671
672
673
674
675
676 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
677 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
678 private org.apache.commons.cli.Option getNoSourceProcessingOption()
679 {
680 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Source Processing Option" );
681 assert _d != null : "'No Source Processing Option' dependency not found.";
682 return _d;
683 }
684
685
686
687
688
689
690
691
692
693
694
695
696 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
697 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
698 private org.apache.commons.cli.Option getOutputEncodingOption()
699 {
700 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Output Encoding Option" );
701 assert _d != null : "'Output Encoding Option' dependency not found.";
702 return _d;
703 }
704
705
706
707
708
709
710
711
712
713
714
715
716 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
717 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
718 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
719 {
720 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Platform Provider Location Option" );
721 assert _d != null : "'Platform Provider Location Option' dependency not found.";
722 return _d;
723 }
724
725
726
727
728
729
730
731
732
733
734
735
736 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
737 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
738 private org.apache.commons.cli.Option getProviderLocationOption()
739 {
740 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" );
741 assert _d != null : "'Provider Location Option' dependency not found.";
742 return _d;
743 }
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
771 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
772 private org.apache.commons.cli.Option getSourceDirectoryOption()
773 {
774 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Source Directory Option" );
775 assert _d != null : "'Source Directory Option' dependency not found.";
776 return _d;
777 }
778
779
780
781
782
783
784
785
786
787
788
789
790 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
791 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
792 private org.apache.commons.cli.Option getSourceFileProcessorOption()
793 {
794 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Source File Processor Option" );
795 assert _d != null : "'Source File Processor Option' dependency not found.";
796 return _d;
797 }
798
799
800
801
802
803
804
805
806
807
808
809
810 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
811 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
812 private org.apache.commons.cli.Option getSpecificationOption()
813 {
814 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Specification Option" );
815 assert _d != null : "'Specification Option' dependency not found.";
816 return _d;
817 }
818
819
820
821
822
823
824
825
826
827
828
829
830 @Deprecated
831 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
832 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
833 private org.apache.commons.cli.Option getTemplateEncodingOption()
834 {
835 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Encoding Option" );
836 assert _d != null : "'Template Encoding Option' dependency not found.";
837 return _d;
838 }
839
840
841
842
843
844
845
846
847
848
849
850
851 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
852 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
853 private org.apache.commons.cli.Option getTemplateLocationOption()
854 {
855 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Location Option" );
856 assert _d != null : "'Template Location Option' dependency not found.";
857 return _d;
858 }
859
860
861
862
863
864
865
866
867
868
869
870
871 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
872 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
873 private org.apache.commons.cli.Option getTemplateProfileOption()
874 {
875 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Profile Option" );
876 assert _d != null : "'Template Profile Option' dependency not found.";
877 return _d;
878 }
879
880
881
882
883
884
885
886
887
888
889
890
891 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
892 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
893 private org.apache.commons.cli.Option getTransformerLocationOption()
894 {
895 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Transformer Location Option" );
896 assert _d != null : "'Transformer Location Option' dependency not found.";
897 return _d;
898 }
899
900
901
902
903
904
905
906
907
908
909
910
911 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
912 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
913 private java.lang.String getAbbreviatedCommandName()
914 {
915 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" );
916 assert _p != null : "'Abbreviated Command Name' property not found.";
917 return _p;
918 }
919
920
921
922
923
924
925
926
927 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
928 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
929 private java.lang.String getApplicationModlet()
930 {
931 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" );
932 assert _p != null : "'Application Modlet' property not found.";
933 return _p;
934 }
935
936
937
938
939
940
941
942
943 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
944 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
945 private java.lang.String getCommandName()
946 {
947 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" );
948 assert _p != null : "'Command Name' property not found.";
949 return _p;
950 }
951
952
953
954
955
956
957
958
959 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
960 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
961 private java.lang.String getModletExcludes()
962 {
963 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" );
964 assert _p != null : "'Modlet Excludes' property not found.";
965 return _p;
966 }
967
968
969
970
971
972
973
974
975 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
976 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
977 private java.lang.String getProviderExcludes()
978 {
979 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" );
980 assert _p != null : "'Provider Excludes' property not found.";
981 return _p;
982 }
983
984
985
986
987
988
989
990
991 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
992 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
993 private java.lang.String getSchemaExcludes()
994 {
995 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" );
996 assert _p != null : "'Schema Excludes' property not found.";
997 return _p;
998 }
999
1000
1001
1002
1003
1004
1005
1006
1007 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1008 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1009 private java.lang.String getServiceExcludes()
1010 {
1011 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" );
1012 assert _p != null : "'Service Excludes' property not found.";
1013 return _p;
1014 }
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1031 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1032 private String getApplicationTitle( final java.util.Locale locale )
1033 {
1034 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale );
1035 assert _m != null : "'Application Title' message not found.";
1036 return _m;
1037 }
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1053 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1054 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1055 {
1056 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage );
1057 assert _m != null : "'Cannot Process Message' message not found.";
1058 return _m;
1059 }
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1074 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1075 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1076 {
1077 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement );
1078 assert _m != null : "'Classpath Element Info' message not found.";
1079 return _m;
1080 }
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1095 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1096 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1097 {
1098 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName );
1099 assert _m != null : "'Classpath Element Not Found Warning' message not found.";
1100 return _m;
1101 }
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1116 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1117 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1118 {
1119 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName );
1120 assert _m != null : "'Command Failure Message' message not found.";
1121 return _m;
1122 }
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1137 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1138 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1139 {
1140 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName );
1141 assert _m != null : "'Command Info Message' message not found.";
1142 return _m;
1143 }
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1158 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1159 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1160 {
1161 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName );
1162 assert _m != null : "'Command Success Message' message not found.";
1163 return _m;
1164 }
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1179 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1180 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1181 {
1182 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel );
1183 assert _m != null : "'Default Log Level Info' message not found.";
1184 return _m;
1185 }
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1201 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1202 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption )
1203 {
1204 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Deprecated Option Message", locale, deprecatedOption, replacementOption );
1205 assert _m != null : "'Deprecated Option Message' message not found.";
1206 return _m;
1207 }
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1221 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1222 private String getDisabledMessage( final java.util.Locale locale )
1223 {
1224 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Disabled Message", locale );
1225 assert _m != null : "'Disabled Message' message not found.";
1226 return _m;
1227 }
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1242 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1243 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1244 {
1245 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile );
1246 assert _m != null : "'Document File Info' message not found.";
1247 return _m;
1248 }
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1263 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1264 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1265 {
1266 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName );
1267 assert _m != null : "'Document File Not Found Warning' message not found.";
1268 return _m;
1269 }
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1285 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1286 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1287 {
1288 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier );
1289 assert _m != null : "'Excluded Modlet Info' message not found.";
1290 return _m;
1291 }
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1307 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1308 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1309 {
1310 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName );
1311 assert _m != null : "'Excluded Provider Info' message not found.";
1312 return _m;
1313 }
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1329 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1330 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1331 {
1332 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId );
1333 assert _m != null : "'Excluded Schema Info' message not found.";
1334 return _m;
1335 }
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1351 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1352 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1353 {
1354 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName );
1355 assert _m != null : "'Excluded Service Info' message not found.";
1356 return _m;
1357 }
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1372 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1373 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1374 {
1375 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Failed Creating Object Message", locale, objectInfo );
1376 assert _m != null : "'Failed Creating Object Message' message not found.";
1377 return _m;
1378 }
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1393 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1394 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1395 {
1396 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Implementation Not Found Warning", locale, implementationIdentifier );
1397 assert _m != null : "'Implementation Not Found Warning' message not found.";
1398 return _m;
1399 }
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1414 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1415 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1416 {
1417 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier );
1418 assert _m != null : "'Invalid Model Message' message not found.";
1419 return _m;
1420 }
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1434 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1435 private String getLongDescriptionMessage( final java.util.Locale locale )
1436 {
1437 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale );
1438 assert _m != null : "'Long Description Message' message not found.";
1439 return _m;
1440 }
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1455 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1456 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1457 {
1458 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Module Not Found Warning", locale, moduleName );
1459 assert _m != null : "'Module Not Found Warning' message not found.";
1460 return _m;
1461 }
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1476 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1477 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1478 {
1479 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo );
1480 assert _m != null : "'Reading Message' message not found.";
1481 return _m;
1482 }
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1495 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1496 private String getSeparator( final java.util.Locale locale )
1497 {
1498 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale );
1499 assert _m != null : "'Separator' message not found.";
1500 return _m;
1501 }
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1515 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1516 private String getShortDescriptionMessage( final java.util.Locale locale )
1517 {
1518 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale );
1519 assert _m != null : "'Short Description Message' message not found.";
1520 return _m;
1521 }
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1536 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1537 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1538 {
1539 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Specification Not Found Warning", locale, specificationIdentifier );
1540 assert _m != null : "'Specification Not Found Warning' message not found.";
1541 return _m;
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
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
1692 @Override
1693 public org.apache.commons.cli.Options getOptions()
1694 {
1695 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1696 options.addOption( this.getClasspathOption() );
1697 options.addOption( this.getCountryOption() );
1698 options.addOption( this.getDefaultTemplateEncodingOption() );
1699 options.addOption( this.getDefaultTemplateProfileOption() );
1700 options.addOption( this.getDocumentsOption() );
1701 options.addOption( this.getImplementationOption() );
1702 options.addOption( this.getIndentationStringOption() );
1703 options.addOption( this.getInputEncodingOption() );
1704 options.addOption( this.getLanguageOption() );
1705 options.addOption( this.getLineSeparatorOption() );
1706 options.addOption( this.getLocaleVariantOption() );
1707 options.addOption( this.getModelContextFactoryOption() );
1708 options.addOption( this.getModelOption() );
1709 options.addOption( this.getModletLocationOption() );
1710 options.addOption( this.getModletSchemaSystemIdOption() );
1711 options.addOption( this.getModuleLocationOption() );
1712 options.addOption( this.getModuleNameOption() );
1713 options.addOption( this.getNoClasspathResolutionOption() );
1714 options.addOption( this.getNoJavaValidationOption() );
1715 options.addOption( this.getNoModelProcessingOption() );
1716 options.addOption( this.getNoModelResourceValidation() );
1717 options.addOption( this.getNoModletResourceValidation() );
1718 options.addOption( this.getNoSourceProcessingOption() );
1719 options.addOption( this.getOutputEncodingOption() );
1720 options.addOption( this.getPlatformProviderLocationOption() );
1721 options.addOption( this.getProviderLocationOption() );
1722 options.addOption( this.getSourceDirectoryOption() );
1723 options.addOption( this.getSourceFileProcessorOption() );
1724 options.addOption( this.getSpecificationOption() );
1725 options.addOption( this.getTemplateEncodingOption() );
1726 options.addOption( this.getTemplateLocationOption() );
1727 options.addOption( this.getTemplateProfileOption() );
1728 options.addOption( this.getTransformerLocationOption() );
1729 return options;
1730 }
1731
1732
1733
1734 }