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