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.net.MalformedURLException;
40 import java.net.URL;
41 import java.util.Locale;
42 import java.util.logging.Level;
43 import org.apache.commons.cli.CommandLine;
44 import org.apache.commons.lang.StringEscapeUtils;
45 import org.apache.commons.lang.StringUtils;
46 import org.jomc.model.Implementation;
47 import org.jomc.model.Module;
48 import org.jomc.model.Modules;
49 import org.jomc.model.Specification;
50 import org.jomc.model.modlet.ModelHelper;
51 import org.jomc.modlet.Model;
52 import org.jomc.tools.JomcTool;
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
77
78
79 public abstract class AbstractJomcToolCommand extends AbstractModelCommand
80 {
81
82
83
84
85
86 @Override
87 protected void postExecuteCommand( final CommandLine commandLine ) throws CommandExecutionException
88 {
89 if ( commandLine == null )
90 {
91 throw new NullPointerException( "commandLine" );
92 }
93
94 JomcTool.setDefaultTemplateProfile( null );
95
96 super.postExecuteCommand( commandLine );
97 }
98
99
100
101
102
103
104
105
106
107
108
109
110
111 protected <T> T createObject( final String className, final Class<T> type ) throws CommandExecutionException
112 {
113 if ( className == null )
114 {
115 throw new NullPointerException( "className" );
116 }
117 if ( type == null )
118 {
119 throw new NullPointerException( "type" );
120 }
121
122 try
123 {
124 return Class.forName( className ).asSubclass( type ).newInstance();
125 }
126 catch ( final InstantiationException e )
127 {
128 throw new CommandExecutionException(
129 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );
130
131 }
132 catch ( final IllegalAccessException e )
133 {
134 throw new CommandExecutionException(
135 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );
136
137 }
138 catch ( final ClassNotFoundException e )
139 {
140 throw new CommandExecutionException(
141 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );
142
143 }
144 catch ( final ClassCastException e )
145 {
146 throw new CommandExecutionException(
147 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );
148
149 }
150 }
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167 protected <T extends JomcTool> T createJomcTool( final String className, final Class<T> type,
168 final CommandLine commandLine ) throws CommandExecutionException
169 {
170 if ( commandLine == null )
171 {
172 throw new NullPointerException( "commandLine" );
173 }
174 if ( className == null )
175 {
176 throw new NullPointerException( "className" );
177 }
178 if ( type == null )
179 {
180 throw new NullPointerException( "type" );
181 }
182
183 final T tool = this.createObject( className, type );
184 tool.setLogLevel( this.getLogLevel() );
185 tool.setLocale( this.getLocale( commandLine ) );
186 tool.getListeners().add( new JomcTool.Listener()
187 {
188
189 @Override
190 public void onLog( final Level level, final String message, final Throwable throwable )
191 {
192 super.onLog( level, message, throwable );
193 log( level, message, throwable );
194 }
195
196 } );
197
198 if ( commandLine.hasOption( this.getTemplateEncodingOption().getOpt() ) )
199 {
200 this.log( Level.WARNING, this.getDeprecatedOptionMessage(
201 this.getLocale(), this.getTemplateEncodingOption().getLongOpt(),
202 this.getDefaultTemplateEncodingOption().getLongOpt() ), null );
203
204 tool.setDefaultTemplateEncoding( commandLine.getOptionValue(
205 this.getTemplateEncodingOption().getOpt() ) );
206
207 }
208 else if ( commandLine.hasOption( this.getDefaultTemplateEncodingOption().getOpt() ) )
209 {
210 tool.setDefaultTemplateEncoding( commandLine.getOptionValue(
211 this.getDefaultTemplateEncodingOption().getOpt() ) );
212
213 }
214
215 if ( commandLine.hasOption( this.getDefaultTemplateProfileOption().getOpt() ) )
216 {
217 tool.setDefaultTemplateProfile(
218 commandLine.getOptionValue( this.getDefaultTemplateProfileOption().getOpt() ) );
219
220 }
221 if ( commandLine.hasOption( this.getTemplateProfileOption().getOpt() ) )
222 {
223 tool.setTemplateProfile( commandLine.getOptionValue( this.getTemplateProfileOption().getOpt() ) );
224 }
225 if ( commandLine.hasOption( this.getTemplateLocationOption().getOpt() ) )
226 {
227 try
228 {
229 tool.setTemplateLocation(
230 new URL( commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ) );
231
232 }
233 catch ( final MalformedURLException e )
234 {
235 this.log( Level.FINER, null, e );
236
237 try
238 {
239 tool.setTemplateLocation( new File(
240 commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ).toURI().toURL() );
241
242 }
243 catch ( final MalformedURLException e2 )
244 {
245 throw new CommandExecutionException( getExceptionMessage( e2 ), e2 );
246 }
247 }
248 }
249 if ( commandLine.hasOption( this.getInputEncodingOption().getOpt() ) )
250 {
251 tool.setInputEncoding( commandLine.getOptionValue( this.getInputEncodingOption().getOpt() ) );
252 }
253 if ( commandLine.hasOption( this.getOutputEncodingOption().getOpt() ) )
254 {
255 tool.setOutputEncoding( commandLine.getOptionValue( this.getOutputEncodingOption().getOpt() ) );
256 }
257 if ( commandLine.hasOption( this.getIndentationStringOption().getOpt() ) )
258 {
259 tool.setIndentation( StringEscapeUtils.unescapeJava(
260 commandLine.getOptionValue( this.getIndentationStringOption().getOpt() ) ) );
261
262 }
263 if ( commandLine.hasOption( this.getLineSeparatorOption().getOpt() ) )
264 {
265 tool.setLineSeparator( StringEscapeUtils.unescapeJava(
266 commandLine.getOptionValue( this.getLineSeparatorOption().getOpt() ) ) );
267
268 }
269
270 return tool;
271 }
272
273
274
275
276
277
278
279
280
281
282
283 protected final Specification getSpecification( final CommandLine commandLine, final Model model )
284 {
285 if ( commandLine == null )
286 {
287 throw new NullPointerException( "commandLine" );
288 }
289 if ( model == null )
290 {
291 throw new NullPointerException( "model" );
292 }
293
294 Specification s = null;
295
296 if ( commandLine.hasOption( this.getSpecificationOption().getOpt() ) )
297 {
298 final String identifier = commandLine.getOptionValue( this.getSpecificationOption().getOpt() );
299 final Modules modules = ModelHelper.getModules( model );
300
301 if ( modules != null )
302 {
303 s = modules.getSpecification( identifier );
304 }
305
306 if ( s == null )
307 {
308 this.log( Level.WARNING, this.getSpecificationNotFoundWarning( this.getLocale(), identifier ), null );
309 }
310 }
311
312 return s;
313 }
314
315
316
317
318
319
320
321
322
323
324
325 protected final Implementation getImplementation( final CommandLine commandLine, final Model model )
326 {
327 if ( commandLine == null )
328 {
329 throw new NullPointerException( "commandLine" );
330 }
331 if ( model == null )
332 {
333 throw new NullPointerException( "model" );
334 }
335
336 Implementation i = null;
337
338 if ( commandLine.hasOption( this.getImplementationOption().getOpt() ) )
339 {
340 final String identifier = commandLine.getOptionValue( this.getImplementationOption().getOpt() );
341 final Modules modules = ModelHelper.getModules( model );
342
343 if ( modules != null )
344 {
345 i = modules.getImplementation( identifier );
346 }
347
348 if ( i == null )
349 {
350 this.log( Level.WARNING, this.getImplementationNotFoundWarning( this.getLocale(), identifier ), null );
351 }
352 }
353
354 return i;
355 }
356
357
358
359
360
361
362
363
364
365
366
367 protected final Module getModule( final CommandLine commandLine, final Model model )
368 {
369 if ( commandLine == null )
370 {
371 throw new NullPointerException( "commandLine" );
372 }
373 if ( model == null )
374 {
375 throw new NullPointerException( "model" );
376 }
377
378 Module m = null;
379
380 if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
381 {
382 final String name = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
383 final Modules modules = ModelHelper.getModules( model );
384
385 if ( modules != null )
386 {
387 m = modules.getModule( name );
388 }
389
390 if ( m == null )
391 {
392 this.log( Level.WARNING, this.getModuleNotFoundWarning( this.getLocale(), name ), null );
393 }
394 }
395
396 return m;
397 }
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412 protected final boolean isModulesProcessingRequested( final CommandLine commandLine )
413 {
414 if ( commandLine == null )
415 {
416 throw new NullPointerException( "commandLine" );
417 }
418
419 return !( commandLine.hasOption( this.getSpecificationOption().getOpt() )
420 || commandLine.hasOption( this.getImplementationOption().getOpt() )
421 || commandLine.hasOption( this.getModuleNameOption().getOpt() ) );
422
423 }
424
425
426
427
428
429
430
431
432
433 protected final Locale getLocale( final CommandLine commandLine )
434 {
435 if ( commandLine == null )
436 {
437 throw new NullPointerException( "commandLine" );
438 }
439
440 Locale locale = null;
441
442 final String lc = commandLine.hasOption( this.getLanguageOption().getOpt() )
443 ? commandLine.getOptionValue( this.getLanguageOption().getOpt() )
444 : null;
445
446 final String cc = commandLine.hasOption( this.getCountryOption().getOpt() )
447 ? commandLine.getOptionValue( this.getCountryOption().getOpt() )
448 : null;
449
450 final String lv = commandLine.hasOption( this.getLocaleVariantOption().getOpt() )
451 ? commandLine.getOptionValue( this.getLocaleVariantOption().getOpt() )
452 : null;
453
454 if ( lc != null || cc != null || lv != null )
455 {
456 locale = new Locale( StringUtils.defaultString( lc ),
457 StringUtils.defaultString( cc ),
458 StringUtils.defaultString( lv ) );
459
460 }
461
462 return locale;
463 }
464
465
466
467
468
469 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
470 public AbstractJomcToolCommand()
471 {
472
473 super();
474
475 }
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492 @SuppressWarnings("unused")
493 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
494 private org.apache.commons.cli.Option getClasspathOption()
495 {
496 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
497 assert _d != null : "'ClasspathOption' dependency not found.";
498 return _d;
499 }
500
501
502
503
504
505
506
507
508
509
510
511
512 @SuppressWarnings("unused")
513 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
514 private org.apache.commons.cli.Option getCountryOption()
515 {
516 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" );
517 assert _d != null : "'CountryOption' dependency not found.";
518 return _d;
519 }
520
521
522
523
524
525
526
527
528
529
530
531
532 @SuppressWarnings("unused")
533 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
534 private org.apache.commons.cli.Option getDefaultTemplateEncodingOption()
535 {
536 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateEncodingOption" );
537 assert _d != null : "'DefaultTemplateEncodingOption' dependency not found.";
538 return _d;
539 }
540
541
542
543
544
545
546
547
548
549
550
551
552 @SuppressWarnings("unused")
553 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
554 private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
555 {
556 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" );
557 assert _d != null : "'DefaultTemplateProfileOption' dependency not found.";
558 return _d;
559 }
560
561
562
563
564
565
566
567
568
569
570
571
572 @SuppressWarnings("unused")
573 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
574 private org.apache.commons.cli.Option getDocumentsOption()
575 {
576 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
577 assert _d != null : "'DocumentsOption' dependency not found.";
578 return _d;
579 }
580
581
582
583
584
585
586
587
588
589
590
591
592 @SuppressWarnings("unused")
593 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
594 private org.apache.commons.cli.Option getImplementationOption()
595 {
596 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" );
597 assert _d != null : "'ImplementationOption' dependency not found.";
598 return _d;
599 }
600
601
602
603
604
605
606
607
608
609
610
611
612 @SuppressWarnings("unused")
613 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
614 private org.apache.commons.cli.Option getIndentationStringOption()
615 {
616 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" );
617 assert _d != null : "'IndentationStringOption' dependency not found.";
618 return _d;
619 }
620
621
622
623
624
625
626
627
628
629
630
631
632 @SuppressWarnings("unused")
633 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
634 private org.apache.commons.cli.Option getInputEncodingOption()
635 {
636 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
637 assert _d != null : "'InputEncodingOption' dependency not found.";
638 return _d;
639 }
640
641
642
643
644
645
646
647
648
649
650
651
652 @SuppressWarnings("unused")
653 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
654 private org.apache.commons.cli.Option getLanguageOption()
655 {
656 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
657 assert _d != null : "'LanguageOption' dependency not found.";
658 return _d;
659 }
660
661
662
663
664
665
666
667
668
669
670
671
672 @SuppressWarnings("unused")
673 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
674 private org.apache.commons.cli.Option getLineSeparatorOption()
675 {
676 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" );
677 assert _d != null : "'LineSeparatorOption' dependency not found.";
678 return _d;
679 }
680
681
682
683
684
685
686
687
688
689
690
691
692 @SuppressWarnings("unused")
693 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
694 private java.util.Locale getLocale()
695 {
696 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
697 assert _d != null : "'Locale' dependency not found.";
698 return _d;
699 }
700
701
702
703
704
705
706
707
708
709
710
711
712 @SuppressWarnings("unused")
713 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
714 private org.apache.commons.cli.Option getLocaleVariantOption()
715 {
716 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" );
717 assert _d != null : "'LocaleVariantOption' dependency not found.";
718 return _d;
719 }
720
721
722
723
724
725
726
727
728
729
730
731
732 @SuppressWarnings("unused")
733 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
734 private org.apache.commons.cli.Option getModelContextFactoryOption()
735 {
736 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
737 assert _d != null : "'ModelContextFactoryOption' dependency not found.";
738 return _d;
739 }
740
741
742
743
744
745
746
747
748
749
750
751
752 @SuppressWarnings("unused")
753 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
754 private org.apache.commons.cli.Option getModelOption()
755 {
756 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
757 assert _d != null : "'ModelOption' dependency not found.";
758 return _d;
759 }
760
761
762
763
764
765
766
767
768
769
770
771
772 @SuppressWarnings("unused")
773 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
774 private org.apache.commons.cli.Option getModletLocationOption()
775 {
776 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
777 assert _d != null : "'ModletLocationOption' dependency not found.";
778 return _d;
779 }
780
781
782
783
784
785
786
787
788
789
790
791
792 @SuppressWarnings("unused")
793 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
794 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
795 {
796 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
797 assert _d != null : "'ModletSchemaSystemIdOption' 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
814 private org.apache.commons.cli.Option getModuleLocationOption()
815 {
816 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
817 assert _d != null : "'ModuleLocationOption' dependency not found.";
818 return _d;
819 }
820
821
822
823
824
825
826
827
828
829
830
831
832 @SuppressWarnings("unused")
833 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
834 private org.apache.commons.cli.Option getModuleNameOption()
835 {
836 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
837 assert _d != null : "'ModuleNameOption' dependency not found.";
838 return _d;
839 }
840
841
842
843
844
845
846
847
848
849
850
851
852 @SuppressWarnings("unused")
853 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
854 private org.apache.commons.cli.Option getNoClasspathResolutionOption()
855 {
856 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
857 assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
858 return _d;
859 }
860
861
862
863
864
865
866
867
868
869
870
871
872 @SuppressWarnings("unused")
873 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
874 private org.apache.commons.cli.Option getNoModelProcessingOption()
875 {
876 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
877 assert _d != null : "'NoModelProcessingOption' dependency not found.";
878 return _d;
879 }
880
881
882
883
884
885
886
887
888
889
890
891
892 @SuppressWarnings("unused")
893 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
894 private org.apache.commons.cli.Option getNoModelResourceValidation()
895 {
896 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
897 assert _d != null : "'NoModelResourceValidation' dependency not found.";
898 return _d;
899 }
900
901
902
903
904
905
906
907
908
909
910
911
912 @SuppressWarnings("unused")
913 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
914 private org.apache.commons.cli.Option getNoModletResourceValidation()
915 {
916 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
917 assert _d != null : "'NoModletResourceValidation' dependency not found.";
918 return _d;
919 }
920
921
922
923
924
925
926
927
928
929
930
931
932 @SuppressWarnings("unused")
933 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
934 private org.apache.commons.cli.Option getOutputEncodingOption()
935 {
936 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
937 assert _d != null : "'OutputEncodingOption' dependency not found.";
938 return _d;
939 }
940
941
942
943
944
945
946
947
948
949
950
951
952 @SuppressWarnings("unused")
953 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
954 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
955 {
956 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
957 assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
958 return _d;
959 }
960
961
962
963
964
965
966
967
968
969
970
971
972 @SuppressWarnings("unused")
973 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
974 private org.apache.commons.cli.Option getProviderLocationOption()
975 {
976 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
977 assert _d != null : "'ProviderLocationOption' dependency not found.";
978 return _d;
979 }
980
981
982
983
984
985
986
987
988
989
990
991
992 @SuppressWarnings("unused")
993 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
994 private org.apache.commons.cli.Option getSpecificationOption()
995 {
996 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" );
997 assert _d != null : "'SpecificationOption' dependency not found.";
998 return _d;
999 }
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012 @Deprecated
1013 @SuppressWarnings("unused")
1014 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1015 private org.apache.commons.cli.Option getTemplateEncodingOption()
1016 {
1017 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
1018 assert _d != null : "'TemplateEncodingOption' dependency not found.";
1019 return _d;
1020 }
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033 @SuppressWarnings("unused")
1034 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1035 private org.apache.commons.cli.Option getTemplateLocationOption()
1036 {
1037 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" );
1038 assert _d != null : "'TemplateLocationOption' dependency not found.";
1039 return _d;
1040 }
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053 @SuppressWarnings("unused")
1054 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1055 private org.apache.commons.cli.Option getTemplateProfileOption()
1056 {
1057 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" );
1058 assert _d != null : "'TemplateProfileOption' dependency not found.";
1059 return _d;
1060 }
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073 @SuppressWarnings("unused")
1074 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1075 private org.apache.commons.cli.Option getTransformerLocationOption()
1076 {
1077 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
1078 assert _d != null : "'TransformerLocationOption' dependency not found.";
1079 return _d;
1080 }
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093 @SuppressWarnings("unused")
1094 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1095 private java.lang.String getAbbreviatedCommandName()
1096 {
1097 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
1098 assert _p != null : "'abbreviatedCommandName' property not found.";
1099 return _p;
1100 }
1101
1102
1103
1104
1105
1106
1107
1108
1109 @SuppressWarnings("unused")
1110 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1111 private java.lang.String getApplicationModlet()
1112 {
1113 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
1114 assert _p != null : "'applicationModlet' property not found.";
1115 return _p;
1116 }
1117
1118
1119
1120
1121
1122
1123
1124
1125 @SuppressWarnings("unused")
1126 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1127 private java.lang.String getCommandName()
1128 {
1129 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
1130 assert _p != null : "'commandName' property not found.";
1131 return _p;
1132 }
1133
1134
1135
1136
1137
1138
1139
1140
1141 @SuppressWarnings("unused")
1142 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1143 private java.lang.String getModletExcludes()
1144 {
1145 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
1146 assert _p != null : "'modletExcludes' property not found.";
1147 return _p;
1148 }
1149
1150
1151
1152
1153
1154
1155
1156
1157 @SuppressWarnings("unused")
1158 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1159 private java.lang.String getProviderExcludes()
1160 {
1161 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
1162 assert _p != null : "'providerExcludes' property not found.";
1163 return _p;
1164 }
1165
1166
1167
1168
1169
1170
1171
1172
1173 @SuppressWarnings("unused")
1174 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1175 private java.lang.String getSchemaExcludes()
1176 {
1177 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
1178 assert _p != null : "'schemaExcludes' property not found.";
1179 return _p;
1180 }
1181
1182
1183
1184
1185
1186
1187
1188
1189 @SuppressWarnings("unused")
1190 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1191 private java.lang.String getServiceExcludes()
1192 {
1193 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
1194 assert _p != null : "'serviceExcludes' property not found.";
1195 return _p;
1196 }
1197
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 getApplicationTitle( final java.util.Locale locale )
1215 {
1216 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
1217 assert _m != null : "'applicationTitle' 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 getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1237 {
1238 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
1239 assert _m != null : "'cannotProcessMessage' message not found.";
1240 return _m;
1241 }
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255 @SuppressWarnings("unused")
1256 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1257 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1258 {
1259 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
1260 assert _m != null : "'classpathElementInfo' message not found.";
1261 return _m;
1262 }
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276 @SuppressWarnings("unused")
1277 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1278 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1279 {
1280 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1281 assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1282 return _m;
1283 }
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297 @SuppressWarnings("unused")
1298 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1299 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1300 {
1301 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1302 assert _m != null : "'commandFailureMessage' message not found.";
1303 return _m;
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 getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1321 {
1322 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1323 assert _m != null : "'commandInfoMessage' message not found.";
1324 return _m;
1325 }
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339 @SuppressWarnings("unused")
1340 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1341 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1342 {
1343 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1344 assert _m != null : "'commandSuccessMessage' message not found.";
1345 return _m;
1346 }
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360 @SuppressWarnings("unused")
1361 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1362 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1363 {
1364 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1365 assert _m != null : "'defaultLogLevelInfo' message not found.";
1366 return _m;
1367 }
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382 @SuppressWarnings("unused")
1383 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1384 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption )
1385 {
1386 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "deprecatedOptionMessage", locale, deprecatedOption, replacementOption );
1387 assert _m != null : "'deprecatedOptionMessage' message not found.";
1388 return _m;
1389 }
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403 @SuppressWarnings("unused")
1404 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1405 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1406 {
1407 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1408 assert _m != null : "'documentFileInfo' message not found.";
1409 return _m;
1410 }
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424 @SuppressWarnings("unused")
1425 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1426 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1427 {
1428 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1429 assert _m != null : "'documentFileNotFoundWarning' message not found.";
1430 return _m;
1431 }
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446 @SuppressWarnings("unused")
1447 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1448 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1449 {
1450 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1451 assert _m != null : "'excludedModletInfo' message not found.";
1452 return _m;
1453 }
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468 @SuppressWarnings("unused")
1469 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1470 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1471 {
1472 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1473 assert _m != null : "'excludedProviderInfo' message not found.";
1474 return _m;
1475 }
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490 @SuppressWarnings("unused")
1491 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1492 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1493 {
1494 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1495 assert _m != null : "'excludedSchemaInfo' message not found.";
1496 return _m;
1497 }
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512 @SuppressWarnings("unused")
1513 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1514 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1515 {
1516 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1517 assert _m != null : "'excludedServiceInfo' message not found.";
1518 return _m;
1519 }
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533 @SuppressWarnings("unused")
1534 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1535 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1536 {
1537 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo );
1538 assert _m != null : "'failedCreatingObjectMessage' message not found.";
1539 return _m;
1540 }
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554 @SuppressWarnings("unused")
1555 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1556 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1557 {
1558 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier );
1559 assert _m != null : "'implementationNotFoundWarning' message not found.";
1560 return _m;
1561 }
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575 @SuppressWarnings("unused")
1576 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1577 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1578 {
1579 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1580 assert _m != null : "'invalidModelMessage' message not found.";
1581 return _m;
1582 }
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594 @SuppressWarnings("unused")
1595 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1596 private String getLongDescriptionMessage( final java.util.Locale locale )
1597 {
1598 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1599 assert _m != null : "'longDescriptionMessage' message not found.";
1600 return _m;
1601 }
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615 @SuppressWarnings("unused")
1616 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1617 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1618 {
1619 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName );
1620 assert _m != null : "'moduleNotFoundWarning' message not found.";
1621 return _m;
1622 }
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636 @SuppressWarnings("unused")
1637 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1638 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1639 {
1640 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1641 assert _m != null : "'readingMessage' message not found.";
1642 return _m;
1643 }
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655 @SuppressWarnings("unused")
1656 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1657 private String getSeparator( final java.util.Locale locale )
1658 {
1659 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1660 assert _m != null : "'separator' message not found.";
1661 return _m;
1662 }
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674 @SuppressWarnings("unused")
1675 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1676 private String getShortDescriptionMessage( final java.util.Locale locale )
1677 {
1678 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1679 assert _m != null : "'shortDescriptionMessage' message not found.";
1680 return _m;
1681 }
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695 @SuppressWarnings("unused")
1696 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1697 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1698 {
1699 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier );
1700 assert _m != null : "'specificationNotFoundWarning' message not found.";
1701 return _m;
1702 }
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1836 @Override
1837 public org.apache.commons.cli.Options getOptions()
1838 {
1839 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1840 options.addOption( this.getClasspathOption() );
1841 options.addOption( this.getCountryOption() );
1842 options.addOption( this.getDefaultTemplateEncodingOption() );
1843 options.addOption( this.getDefaultTemplateProfileOption() );
1844 options.addOption( this.getDocumentsOption() );
1845 options.addOption( this.getImplementationOption() );
1846 options.addOption( this.getIndentationStringOption() );
1847 options.addOption( this.getInputEncodingOption() );
1848 options.addOption( this.getLanguageOption() );
1849 options.addOption( this.getLineSeparatorOption() );
1850 options.addOption( this.getLocaleVariantOption() );
1851 options.addOption( this.getModelContextFactoryOption() );
1852 options.addOption( this.getModelOption() );
1853 options.addOption( this.getModletLocationOption() );
1854 options.addOption( this.getModletSchemaSystemIdOption() );
1855 options.addOption( this.getModuleLocationOption() );
1856 options.addOption( this.getModuleNameOption() );
1857 options.addOption( this.getNoClasspathResolutionOption() );
1858 options.addOption( this.getNoModelProcessingOption() );
1859 options.addOption( this.getNoModelResourceValidation() );
1860 options.addOption( this.getNoModletResourceValidation() );
1861 options.addOption( this.getOutputEncodingOption() );
1862 options.addOption( this.getPlatformProviderLocationOption() );
1863 options.addOption( this.getProviderLocationOption() );
1864 options.addOption( this.getSpecificationOption() );
1865 options.addOption( this.getTemplateEncodingOption() );
1866 options.addOption( this.getTemplateLocationOption() );
1867 options.addOption( this.getTemplateProfileOption() );
1868 options.addOption( this.getTransformerLocationOption() );
1869 return options;
1870 }
1871
1872
1873 }