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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Class File Processor Option" );
257 assert _d != null : "'Class File Processor Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Classpath Option" );
277 assert _d != null : "'Classpath Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Country Option" );
297 assert _d != null : "'Country Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Default Template Encoding Option" );
317 assert _d != null : "'Default Template Encoding Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Default Template Profile Option" );
337 assert _d != null : "'Default Template Profile Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Documents Option" );
357 assert _d != null : "'Documents Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Implementation Option" );
377 assert _d != null : "'Implementation Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Indentation String Option" );
397 assert _d != null : "'Indentation String Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Input Encoding Option" );
417 assert _d != null : "'Input Encoding Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Language Option" );
437 assert _d != null : "'Language Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Line Separator Option" );
457 assert _d != null : "'Line Separator Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Locale Variant Option" );
497 assert _d != null : "'Locale Variant Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Model Context Factory Option" );
517 assert _d != null : "'Model Context Factory Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Model Option" );
537 assert _d != null : "'Model Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Modlet Location Option" );
557 assert _d != null : "'Modlet Location Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Modlet Schema System Id Option" );
577 assert _d != null : "'Modlet Schema System Id Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Module Location Option" );
597 assert _d != null : "'Module Location Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "Module Name Option" );
617 assert _d != null : "'Module Name Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "No Class Processing Option" );
637 assert _d != null : "'No Class Processing Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
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, "No Classpath Resolution Option" );
657 assert _d != null : "'No Classpath Resolution Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
674 private org.apache.commons.cli.Option getNoJavaValidationOption()
675 {
676 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" );
677 assert _d != null : "'No Java Validation Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
694 private org.apache.commons.cli.Option getNoModelProcessingOption()
695 {
696 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" );
697 assert _d != null : "'No Model Processing Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
714 private org.apache.commons.cli.Option getNoModelResourceValidation()
715 {
716 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" );
717 assert _d != null : "'No Model Resource Validation' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
734 private org.apache.commons.cli.Option getNoModletResourceValidation()
735 {
736 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" );
737 assert _d != null : "'No Modlet Resource Validation' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
754 private org.apache.commons.cli.Option getOutputEncodingOption()
755 {
756 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Output Encoding Option" );
757 assert _d != null : "'Output Encoding Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
774 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
775 {
776 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" );
777 assert _d != null : "'Platform Provider Location Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
794 private org.apache.commons.cli.Option getProviderLocationOption()
795 {
796 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" );
797 assert _d != null : "'Provider Location Option' dependency not found.";
798 return _d;
799 }
800
801
802
803
804
805
806
807
808
809
810
811
812 @SuppressWarnings("unused")
813 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
814 private org.apache.commons.cli.Option getSpecificationOption()
815 {
816 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Specification Option" );
817 assert _d != null : "'Specification Option' dependency not found.";
818 return _d;
819 }
820
821
822
823
824
825
826
827
828
829
830
831
832 @Deprecated
833 @SuppressWarnings("unused")
834 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
835 private org.apache.commons.cli.Option getTemplateEncodingOption()
836 {
837 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Encoding Option" );
838 assert _d != null : "'Template Encoding Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
855 private org.apache.commons.cli.Option getTemplateLocationOption()
856 {
857 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Location Option" );
858 assert _d != null : "'Template Location Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
875 private org.apache.commons.cli.Option getTemplateProfileOption()
876 {
877 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Profile Option" );
878 assert _d != null : "'Template Profile Option' 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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
895 private org.apache.commons.cli.Option getTransformerLocationOption()
896 {
897 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Transformer Location Option" );
898 assert _d != null : "'Transformer Location Option' dependency not found.";
899 return _d;
900 }
901
902
903
904
905
906
907
908
909
910
911
912
913 @SuppressWarnings("unused")
914 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
915 private java.lang.String getAbbreviatedCommandName()
916 {
917 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" );
918 assert _p != null : "'Abbreviated Command Name' property not found.";
919 return _p;
920 }
921
922
923
924
925
926
927
928
929 @SuppressWarnings("unused")
930 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
931 private java.lang.String getApplicationModlet()
932 {
933 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" );
934 assert _p != null : "'Application Modlet' property not found.";
935 return _p;
936 }
937
938
939
940
941
942
943
944
945 @SuppressWarnings("unused")
946 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
947 private java.lang.String getCommandName()
948 {
949 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" );
950 assert _p != null : "'Command Name' property not found.";
951 return _p;
952 }
953
954
955
956
957
958
959
960
961 @SuppressWarnings("unused")
962 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
963 private java.lang.String getModletExcludes()
964 {
965 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" );
966 assert _p != null : "'Modlet Excludes' property not found.";
967 return _p;
968 }
969
970
971
972
973
974
975
976
977 @SuppressWarnings("unused")
978 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
979 private java.lang.String getProviderExcludes()
980 {
981 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" );
982 assert _p != null : "'Provider Excludes' property not found.";
983 return _p;
984 }
985
986
987
988
989
990
991
992
993 @SuppressWarnings("unused")
994 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
995 private java.lang.String getSchemaExcludes()
996 {
997 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" );
998 assert _p != null : "'Schema Excludes' property not found.";
999 return _p;
1000 }
1001
1002
1003
1004
1005
1006
1007
1008
1009 @SuppressWarnings("unused")
1010 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1011 private java.lang.String getServiceExcludes()
1012 {
1013 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" );
1014 assert _p != null : "'Service Excludes' property not found.";
1015 return _p;
1016 }
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032 @SuppressWarnings("unused")
1033 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1034 private String getApplicationTitle( final java.util.Locale locale )
1035 {
1036 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale );
1037 assert _m != null : "'Application Title' message not found.";
1038 return _m;
1039 }
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054 @SuppressWarnings("unused")
1055 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1056 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1057 {
1058 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage );
1059 assert _m != null : "'Cannot Process Message' message not found.";
1060 return _m;
1061 }
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075 @SuppressWarnings("unused")
1076 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1077 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1078 {
1079 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement );
1080 assert _m != null : "'Classpath Element Info' message not found.";
1081 return _m;
1082 }
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096 @SuppressWarnings("unused")
1097 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1098 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1099 {
1100 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName );
1101 assert _m != null : "'Classpath Element Not Found Warning' message not found.";
1102 return _m;
1103 }
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117 @SuppressWarnings("unused")
1118 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1119 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1120 {
1121 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName );
1122 assert _m != null : "'Command Failure Message' message not found.";
1123 return _m;
1124 }
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138 @SuppressWarnings("unused")
1139 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1140 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1141 {
1142 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName );
1143 assert _m != null : "'Command Info Message' message not found.";
1144 return _m;
1145 }
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159 @SuppressWarnings("unused")
1160 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1161 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1162 {
1163 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName );
1164 assert _m != null : "'Command Success Message' message not found.";
1165 return _m;
1166 }
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180 @SuppressWarnings("unused")
1181 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1182 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1183 {
1184 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel );
1185 assert _m != null : "'Default Log Level Info' message not found.";
1186 return _m;
1187 }
1188
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1204 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption )
1205 {
1206 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Deprecated Option Message", locale, deprecatedOption, replacementOption );
1207 assert _m != null : "'Deprecated Option Message' message not found.";
1208 return _m;
1209 }
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222 @SuppressWarnings("unused")
1223 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1224 private String getDisabledMessage( final java.util.Locale locale )
1225 {
1226 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Disabled Message", locale );
1227 assert _m != null : "'Disabled Message' message not found.";
1228 return _m;
1229 }
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243 @SuppressWarnings("unused")
1244 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1245 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1246 {
1247 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile );
1248 assert _m != null : "'Document File Info' message not found.";
1249 return _m;
1250 }
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264 @SuppressWarnings("unused")
1265 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1266 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1267 {
1268 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName );
1269 assert _m != null : "'Document File Not Found Warning' message not found.";
1270 return _m;
1271 }
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286 @SuppressWarnings("unused")
1287 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1288 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1289 {
1290 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier );
1291 assert _m != null : "'Excluded Modlet Info' message not found.";
1292 return _m;
1293 }
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308 @SuppressWarnings("unused")
1309 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1310 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1311 {
1312 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName );
1313 assert _m != null : "'Excluded Provider Info' message not found.";
1314 return _m;
1315 }
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330 @SuppressWarnings("unused")
1331 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1332 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1333 {
1334 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId );
1335 assert _m != null : "'Excluded Schema Info' message not found.";
1336 return _m;
1337 }
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352 @SuppressWarnings("unused")
1353 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1354 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1355 {
1356 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName );
1357 assert _m != null : "'Excluded Service Info' message not found.";
1358 return _m;
1359 }
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373 @SuppressWarnings("unused")
1374 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1375 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1376 {
1377 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Failed Creating Object Message", locale, objectInfo );
1378 assert _m != null : "'Failed Creating Object Message' message not found.";
1379 return _m;
1380 }
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1396 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1397 {
1398 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Implementation Not Found Warning", locale, implementationIdentifier );
1399 assert _m != null : "'Implementation Not Found Warning' message not found.";
1400 return _m;
1401 }
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414 @SuppressWarnings("unused")
1415 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1416 private String getInvalidClassesMessage( final java.util.Locale locale )
1417 {
1418 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Classes Message", locale );
1419 assert _m != null : "'Invalid Classes Message' message not found.";
1420 return _m;
1421 }
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1437 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1438 {
1439 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier );
1440 assert _m != null : "'Invalid Model Message' message not found.";
1441 return _m;
1442 }
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455 @SuppressWarnings("unused")
1456 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1457 private String getLongDescriptionMessage( final java.util.Locale locale )
1458 {
1459 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale );
1460 assert _m != null : "'Long Description Message' message not found.";
1461 return _m;
1462 }
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476 @SuppressWarnings("unused")
1477 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1478 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1479 {
1480 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Module Not Found Warning", locale, moduleName );
1481 assert _m != null : "'Module Not Found Warning' message not found.";
1482 return _m;
1483 }
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497 @SuppressWarnings("unused")
1498 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1499 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1500 {
1501 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo );
1502 assert _m != null : "'Reading Message' message not found.";
1503 return _m;
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.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1518 private String getSeparator( final java.util.Locale locale )
1519 {
1520 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale );
1521 assert _m != null : "'Separator' message not found.";
1522 return _m;
1523 }
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536 @SuppressWarnings("unused")
1537 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1538 private String getShortDescriptionMessage( final java.util.Locale locale )
1539 {
1540 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale );
1541 assert _m != null : "'Short Description Message' message not found.";
1542 return _m;
1543 }
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557 @SuppressWarnings("unused")
1558 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1559 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1560 {
1561 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Specification Not Found Warning", locale, specificationIdentifier );
1562 assert _m != null : "'Specification Not Found Warning' message not found.";
1563 return _m;
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
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" )
1710 @Override
1711 public org.apache.commons.cli.Options getOptions()
1712 {
1713 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1714 options.addOption( this.getClassFileProcessorOption() );
1715 options.addOption( this.getClasspathOption() );
1716 options.addOption( this.getCountryOption() );
1717 options.addOption( this.getDefaultTemplateEncodingOption() );
1718 options.addOption( this.getDefaultTemplateProfileOption() );
1719 options.addOption( this.getDocumentsOption() );
1720 options.addOption( this.getImplementationOption() );
1721 options.addOption( this.getIndentationStringOption() );
1722 options.addOption( this.getInputEncodingOption() );
1723 options.addOption( this.getLanguageOption() );
1724 options.addOption( this.getLineSeparatorOption() );
1725 options.addOption( this.getLocaleVariantOption() );
1726 options.addOption( this.getModelContextFactoryOption() );
1727 options.addOption( this.getModelOption() );
1728 options.addOption( this.getModletLocationOption() );
1729 options.addOption( this.getModletSchemaSystemIdOption() );
1730 options.addOption( this.getModuleLocationOption() );
1731 options.addOption( this.getModuleNameOption() );
1732 options.addOption( this.getNoClassProcessingOption() );
1733 options.addOption( this.getNoClasspathResolutionOption() );
1734 options.addOption( this.getNoJavaValidationOption() );
1735 options.addOption( this.getNoModelProcessingOption() );
1736 options.addOption( this.getNoModelResourceValidation() );
1737 options.addOption( this.getNoModletResourceValidation() );
1738 options.addOption( this.getOutputEncodingOption() );
1739 options.addOption( this.getPlatformProviderLocationOption() );
1740 options.addOption( this.getProviderLocationOption() );
1741 options.addOption( this.getSpecificationOption() );
1742 options.addOption( this.getTemplateEncodingOption() );
1743 options.addOption( this.getTemplateLocationOption() );
1744 options.addOption( this.getTemplateProfileOption() );
1745 options.addOption( this.getTransformerLocationOption() );
1746 return options;
1747 }
1748
1749
1750 }