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