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