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