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