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