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.net.URL;
41 import java.util.Arrays;
42 import java.util.Enumeration;
43 import java.util.Iterator;
44 import java.util.List;
45 import java.util.logging.Level;
46 import javax.xml.bind.JAXBElement;
47 import javax.xml.bind.JAXBException;
48 import javax.xml.bind.Marshaller;
49 import javax.xml.bind.Unmarshaller;
50 import javax.xml.bind.util.JAXBResult;
51 import javax.xml.bind.util.JAXBSource;
52 import javax.xml.transform.Transformer;
53 import javax.xml.transform.TransformerException;
54 import javax.xml.transform.stream.StreamSource;
55 import org.apache.commons.cli.CommandLine;
56 import org.jomc.model.Module;
57 import org.jomc.model.Modules;
58 import org.jomc.model.ObjectFactory;
59 import org.jomc.model.modlet.DefaultModelProvider;
60 import org.jomc.modlet.ModelContext;
61 import org.jomc.modlet.ModelException;
62 import org.jomc.modlet.ModelValidationReport;
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
87
88
89 public final class MergeModulesCommand extends AbstractModelCommand
90 {
91
92
93
94
95 protected void executeCommand( final CommandLine commandLine ) throws CommandExecutionException
96 {
97 if ( commandLine == null )
98 {
99 throw new NullPointerException( "commandLine" );
100 }
101
102 CommandLineClassLoader classLoader = null;
103 boolean suppressExceptionOnClose = true;
104
105 try
106 {
107 classLoader = new CommandLineClassLoader( commandLine );
108 final Modules modules = new Modules();
109 final ModelContext context = this.createModelContext( commandLine, classLoader );
110 final String model = this.getModel( commandLine );
111 final Marshaller marshaller = context.createMarshaller( model );
112 final Unmarshaller unmarshaller = context.createUnmarshaller( model );
113
114 if ( !commandLine.hasOption( this.getNoModelResourceValidation().getOpt() ) )
115 {
116 unmarshaller.setSchema( context.createSchema( model ) );
117 }
118
119 File stylesheetFile = null;
120 if ( commandLine.hasOption( this.getStylesheetOption().getOpt() ) )
121 {
122 stylesheetFile = new File( commandLine.getOptionValue( this.getStylesheetOption().getOpt() ) );
123 }
124
125 String moduleVersion = null;
126 if ( commandLine.hasOption( this.getModuleVersionOption().getOpt() ) )
127 {
128 moduleVersion = commandLine.getOptionValue( this.getModuleVersionOption().getOpt() );
129 }
130
131 String moduleVendor = null;
132 if ( commandLine.hasOption( this.getModuleVendorOption().getOpt() ) )
133 {
134 moduleVendor = commandLine.getOptionValue( this.getModuleVendorOption().getOpt() );
135 }
136
137 if ( commandLine.hasOption( this.getDocumentsOption().getOpt() ) )
138 {
139 for ( File f : this.getDocumentFiles( commandLine ) )
140 {
141 if ( this.isLoggable( Level.FINEST ) )
142 {
143 this.log( Level.FINEST, this.getReadingMessage( this.getLocale(), f.getAbsolutePath() ), null );
144 }
145
146 Object o = unmarshaller.unmarshal( f );
147 if ( o instanceof JAXBElement<?> )
148 {
149 o = ( (JAXBElement<?>) o ).getValue();
150 }
151
152 if ( o instanceof Module )
153 {
154 modules.getModule().add( (Module) o );
155 }
156 else if ( o instanceof Modules )
157 {
158 modules.getModule().addAll( ( (Modules) o ).getModule() );
159 }
160 else if ( this.isLoggable( Level.WARNING ) )
161 {
162 this.log( Level.WARNING, this.getCannotProcessMessage(
163 this.getLocale(), f.getAbsolutePath(), o.toString() ), null );
164
165 }
166 }
167 }
168
169 if ( commandLine.hasOption( this.getClasspathOption().getOpt() ) )
170 {
171 String[] resourceNames = null;
172
173 if ( commandLine.hasOption( this.getResourcesOption().getOpt() ) )
174 {
175 resourceNames = commandLine.getOptionValues( this.getResourcesOption().getOpt() );
176 }
177
178 if ( resourceNames == null )
179 {
180 resourceNames = new String[]
181 {
182 DefaultModelProvider.getDefaultModuleLocation()
183 };
184 }
185
186 for ( String resource : resourceNames )
187 {
188 for ( final Enumeration<URL> e = classLoader.getResources( resource ); e.hasMoreElements(); )
189 {
190 final URL url = e.nextElement();
191
192 if ( this.isLoggable( Level.FINEST ) )
193 {
194 this.log( Level.FINEST, this.getReadingMessage( this.getLocale(), url.toExternalForm() ),
195 null );
196
197 }
198
199 Object o = unmarshaller.unmarshal( url );
200 if ( o instanceof JAXBElement<?> )
201 {
202 o = ( (JAXBElement<?>) o ).getValue();
203 }
204
205 if ( o instanceof Module )
206 {
207 modules.getModule().add( (Module) o );
208 }
209 else if ( o instanceof Modules )
210 {
211 modules.getModule().addAll( ( (Modules) o ).getModule() );
212 }
213 else if ( this.isLoggable( Level.WARNING ) )
214 {
215 this.log( Level.WARNING, this.getCannotProcessMessage(
216 this.getLocale(), url.toExternalForm(), o.toString() ), null );
217
218 }
219 }
220 }
221 }
222
223 if ( commandLine.hasOption( this.getModuleIncludesOption().getOpt() ) )
224 {
225 final String[] values = commandLine.getOptionValues( this.getModuleIncludesOption().getOpt() );
226
227 if ( values != null )
228 {
229 final List<String> includes = Arrays.asList( values );
230
231 for ( final Iterator<Module> it = modules.getModule().iterator(); it.hasNext(); )
232 {
233 final Module m = it.next();
234 if ( !includes.contains( m.getName() ) )
235 {
236 this.log( Level.INFO, this.getExcludingModuleInfo( this.getLocale(), m.getName() ), null );
237 it.remove();
238 }
239 else
240 {
241 this.log( Level.INFO, this.getIncludingModuleInfo( this.getLocale(), m.getName() ), null );
242 }
243 }
244 }
245 }
246
247 if ( commandLine.hasOption( this.getModuleExcludesOption().getOpt() ) )
248 {
249 final String[] values = commandLine.getOptionValues( this.getModuleExcludesOption().getOpt() );
250
251 if ( values != null )
252 {
253 for ( String exclude : values )
254 {
255 final Module m = modules.getModule( exclude );
256
257 if ( m != null )
258 {
259 this.log( Level.INFO, this.getExcludingModuleInfo( this.getLocale(), m.getName() ), null );
260 modules.getModule().remove( m );
261 }
262 }
263 }
264 }
265
266 Module classpathModule = null;
267 if ( !commandLine.hasOption( this.getNoClasspathResolutionOption().getOpt() ) )
268 {
269 classpathModule = modules.getClasspathModule( Modules.getDefaultClasspathModuleName(), classLoader );
270 if ( classpathModule != null && modules.getModule( Modules.getDefaultClasspathModuleName() ) == null )
271 {
272 modules.getModule().add( classpathModule );
273 }
274 else
275 {
276 classpathModule = null;
277 }
278 }
279
280 final ModelValidationReport validationReport = context.validateModel(
281 model, new JAXBSource( marshaller, new ObjectFactory().createModules( modules ) ) );
282
283 this.log( validationReport, marshaller );
284
285 if ( !validationReport.isModelValid() )
286 {
287 throw new CommandExecutionException( this.getInvalidModelMessage( this.getLocale(), model ) );
288 }
289
290 if ( classpathModule != null )
291 {
292 modules.getModule().remove( classpathModule );
293 }
294
295 Module mergedModule =
296 modules.getMergedModule( commandLine.getOptionValue( this.getModuleNameOption().getOpt() ) );
297
298 mergedModule.setVersion( moduleVersion );
299 mergedModule.setVendor( moduleVendor );
300
301 final File moduleFile = new File( commandLine.getOptionValue( this.getDocumentOption().getOpt() ) );
302
303 if ( stylesheetFile != null )
304 {
305 final Transformer transformer = this.createTransformer( new StreamSource( stylesheetFile ) );
306 final JAXBSource source =
307 new JAXBSource( marshaller, new ObjectFactory().createModule( mergedModule ) );
308
309 final JAXBResult result = new JAXBResult( unmarshaller );
310 unmarshaller.setSchema( null );
311 transformer.transform( source, result );
312
313 if ( result.getResult() instanceof JAXBElement<?>
314 && ( (JAXBElement<?>) result.getResult() ).getValue() instanceof Module )
315 {
316 mergedModule = (Module) ( (JAXBElement<?>) result.getResult() ).getValue();
317 }
318 else
319 {
320 throw new CommandExecutionException( this.getIllegalTransformationResultError(
321 this.getLocale(), stylesheetFile.getAbsolutePath() ) );
322
323 }
324 }
325
326 marshaller.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE );
327
328 if ( commandLine.hasOption( this.getDocumentEncodingOption().getOpt() ) )
329 {
330 marshaller.setProperty( Marshaller.JAXB_ENCODING,
331 commandLine.getOptionValue( this.getDocumentEncodingOption().getOpt() ) );
332
333 }
334
335 marshaller.setSchema( context.createSchema( model ) );
336 marshaller.marshal( new ObjectFactory().createModule( mergedModule ), moduleFile );
337
338 if ( this.isLoggable( Level.INFO ) )
339 {
340 this.log( Level.INFO, this.getWriteInfo( this.getLocale(), moduleFile.getAbsolutePath() ), null );
341 }
342
343 suppressExceptionOnClose = false;
344 }
345 catch ( final IOException e )
346 {
347 throw new CommandExecutionException( getExceptionMessage( e ), e );
348 }
349 catch ( final TransformerException e )
350 {
351 String message = getExceptionMessage( e );
352 if ( message == null )
353 {
354 message = getExceptionMessage( e.getException() );
355 }
356
357 throw new CommandExecutionException( message, e );
358 }
359 catch ( final JAXBException e )
360 {
361 String message = getExceptionMessage( e );
362 if ( message == null )
363 {
364 message = getExceptionMessage( e.getLinkedException() );
365 }
366
367 throw new CommandExecutionException( message, e );
368 }
369 catch ( final ModelException e )
370 {
371 throw new CommandExecutionException( getExceptionMessage( e ), e );
372 }
373 finally
374 {
375 try
376 {
377 if ( classLoader != null )
378 {
379 classLoader.close();
380 }
381 }
382 catch ( final IOException e )
383 {
384 if ( suppressExceptionOnClose )
385 {
386 this.log( Level.SEVERE, getExceptionMessage( e ), e );
387 }
388 else
389 {
390 throw new CommandExecutionException( getExceptionMessage( e ), e );
391 }
392 }
393 }
394 }
395
396
397
398
399
400 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
401 public MergeModulesCommand()
402 {
403
404 super();
405
406 }
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423 @SuppressWarnings("unused")
424 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
425 private org.apache.commons.cli.Option getClasspathOption()
426 {
427 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
428 assert _d != null : "'ClasspathOption' dependency not found.";
429 return _d;
430 }
431
432
433
434
435
436
437
438
439
440
441
442
443 @SuppressWarnings("unused")
444 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
445 private org.apache.commons.cli.Option getDocumentEncodingOption()
446 {
447 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentEncodingOption" );
448 assert _d != null : "'DocumentEncodingOption' dependency not found.";
449 return _d;
450 }
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477 @SuppressWarnings("unused")
478 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
479 private org.apache.commons.cli.Option getDocumentOption()
480 {
481 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentOption" );
482 assert _d != null : "'DocumentOption' dependency not found.";
483 return _d;
484 }
485
486
487
488
489
490
491
492
493
494
495
496
497 @SuppressWarnings("unused")
498 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
499 private org.apache.commons.cli.Option getDocumentsOption()
500 {
501 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
502 assert _d != null : "'DocumentsOption' dependency not found.";
503 return _d;
504 }
505
506
507
508
509
510
511
512
513
514
515
516
517 @SuppressWarnings("unused")
518 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
519 private java.util.Locale getLocale()
520 {
521 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
522 assert _d != null : "'Locale' dependency not found.";
523 return _d;
524 }
525
526
527
528
529
530
531
532
533
534
535
536
537 @SuppressWarnings("unused")
538 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
539 private org.apache.commons.cli.Option getModelContextFactoryOption()
540 {
541 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
542 assert _d != null : "'ModelContextFactoryOption' dependency not found.";
543 return _d;
544 }
545
546
547
548
549
550
551
552
553
554
555
556
557 @SuppressWarnings("unused")
558 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
559 private org.apache.commons.cli.Option getModelOption()
560 {
561 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
562 assert _d != null : "'ModelOption' dependency not found.";
563 return _d;
564 }
565
566
567
568
569
570
571
572
573
574
575
576
577 @SuppressWarnings("unused")
578 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
579 private org.apache.commons.cli.Option getModletLocationOption()
580 {
581 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
582 assert _d != null : "'ModletLocationOption' dependency not found.";
583 return _d;
584 }
585
586
587
588
589
590
591
592
593
594
595
596
597 @SuppressWarnings("unused")
598 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
599 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
600 {
601 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
602 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
603 return _d;
604 }
605
606
607
608
609
610
611
612
613
614
615
616
617 @SuppressWarnings("unused")
618 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
619 private org.apache.commons.cli.Option getModuleExcludesOption()
620 {
621 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleExcludesOption" );
622 assert _d != null : "'ModuleExcludesOption' dependency not found.";
623 return _d;
624 }
625
626
627
628
629
630
631
632
633
634
635
636
637 @SuppressWarnings("unused")
638 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
639 private org.apache.commons.cli.Option getModuleIncludesOption()
640 {
641 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleIncludesOption" );
642 assert _d != null : "'ModuleIncludesOption' dependency not found.";
643 return _d;
644 }
645
646
647
648
649
650
651
652
653
654
655
656
657 @SuppressWarnings("unused")
658 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
659 private org.apache.commons.cli.Option getModuleLocationOption()
660 {
661 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
662 assert _d != null : "'ModuleLocationOption' dependency not found.";
663 return _d;
664 }
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691 @SuppressWarnings("unused")
692 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
693 private org.apache.commons.cli.Option getModuleNameOption()
694 {
695 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
696 assert _d != null : "'ModuleNameOption' dependency not found.";
697 return _d;
698 }
699
700
701
702
703
704
705
706
707
708
709
710
711 @SuppressWarnings("unused")
712 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
713 private org.apache.commons.cli.Option getModuleVendorOption()
714 {
715 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleVendorOption" );
716 assert _d != null : "'ModuleVendorOption' dependency not found.";
717 return _d;
718 }
719
720
721
722
723
724
725
726
727
728
729
730
731 @SuppressWarnings("unused")
732 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
733 private org.apache.commons.cli.Option getModuleVersionOption()
734 {
735 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleVersionOption" );
736 assert _d != null : "'ModuleVersionOption' dependency not found.";
737 return _d;
738 }
739
740
741
742
743
744
745
746
747
748
749
750
751 @SuppressWarnings("unused")
752 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
753 private org.apache.commons.cli.Option getNoClasspathResolutionOption()
754 {
755 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
756 assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
757 return _d;
758 }
759
760
761
762
763
764
765
766
767
768
769
770
771 @SuppressWarnings("unused")
772 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
773 private org.apache.commons.cli.Option getNoModelProcessingOption()
774 {
775 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
776 assert _d != null : "'NoModelProcessingOption' dependency not found.";
777 return _d;
778 }
779
780
781
782
783
784
785
786
787
788
789
790
791 @SuppressWarnings("unused")
792 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
793 private org.apache.commons.cli.Option getNoModelResourceValidation()
794 {
795 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
796 assert _d != null : "'NoModelResourceValidation' dependency not found.";
797 return _d;
798 }
799
800
801
802
803
804
805
806
807
808
809
810
811 @SuppressWarnings("unused")
812 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
813 private org.apache.commons.cli.Option getNoModletResourceValidation()
814 {
815 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
816 assert _d != null : "'NoModletResourceValidation' dependency not found.";
817 return _d;
818 }
819
820
821
822
823
824
825
826
827
828
829
830
831 @SuppressWarnings("unused")
832 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
833 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
834 {
835 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
836 assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
837 return _d;
838 }
839
840
841
842
843
844
845
846
847
848
849
850
851 @SuppressWarnings("unused")
852 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
853 private org.apache.commons.cli.Option getProviderLocationOption()
854 {
855 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
856 assert _d != null : "'ProviderLocationOption' dependency not found.";
857 return _d;
858 }
859
860
861
862
863
864
865
866
867
868
869
870
871 @SuppressWarnings("unused")
872 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
873 private org.apache.commons.cli.Option getResourcesOption()
874 {
875 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourcesOption" );
876 assert _d != null : "'ResourcesOption' dependency not found.";
877 return _d;
878 }
879
880
881
882
883
884
885
886
887
888
889
890
891 @SuppressWarnings("unused")
892 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
893 private org.apache.commons.cli.Option getStylesheetOption()
894 {
895 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "StylesheetOption" );
896 assert _d != null : "'StylesheetOption' dependency not found.";
897 return _d;
898 }
899
900
901
902
903
904
905
906
907
908
909
910
911 @SuppressWarnings("unused")
912 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
913 private org.apache.commons.cli.Option getTransformerLocationOption()
914 {
915 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
916 assert _d != null : "'TransformerLocationOption' dependency not found.";
917 return _d;
918 }
919
920
921
922
923
924
925
926
927
928
929
930
931 @SuppressWarnings("unused")
932 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
933 private java.lang.String getAbbreviatedCommandName()
934 {
935 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
936 assert _p != null : "'abbreviatedCommandName' property not found.";
937 return _p;
938 }
939
940
941
942
943
944
945
946
947 @SuppressWarnings("unused")
948 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
949 private java.lang.String getApplicationModlet()
950 {
951 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
952 assert _p != null : "'applicationModlet' property not found.";
953 return _p;
954 }
955
956
957
958
959
960
961
962
963 @SuppressWarnings("unused")
964 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
965 private java.lang.String getCommandName()
966 {
967 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
968 assert _p != null : "'commandName' property not found.";
969 return _p;
970 }
971
972
973
974
975
976
977
978
979 @SuppressWarnings("unused")
980 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
981 private java.lang.String getModletExcludes()
982 {
983 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
984 assert _p != null : "'modletExcludes' property not found.";
985 return _p;
986 }
987
988
989
990
991
992
993
994
995 @SuppressWarnings("unused")
996 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
997 private java.lang.String getProviderExcludes()
998 {
999 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
1000 assert _p != null : "'providerExcludes' property not found.";
1001 return _p;
1002 }
1003
1004
1005
1006
1007
1008
1009
1010
1011 @SuppressWarnings("unused")
1012 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1013 private java.lang.String getSchemaExcludes()
1014 {
1015 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
1016 assert _p != null : "'schemaExcludes' property not found.";
1017 return _p;
1018 }
1019
1020
1021
1022
1023
1024
1025
1026
1027 @SuppressWarnings("unused")
1028 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1029 private java.lang.String getServiceExcludes()
1030 {
1031 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
1032 assert _p != null : "'serviceExcludes' property not found.";
1033 return _p;
1034 }
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050 @SuppressWarnings("unused")
1051 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1052 private String getApplicationTitle( final java.util.Locale locale )
1053 {
1054 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
1055 assert _m != null : "'applicationTitle' message not found.";
1056 return _m;
1057 }
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072 @SuppressWarnings("unused")
1073 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1074 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1075 {
1076 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
1077 assert _m != null : "'cannotProcessMessage' message not found.";
1078 return _m;
1079 }
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093 @SuppressWarnings("unused")
1094 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1095 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1096 {
1097 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
1098 assert _m != null : "'classpathElementInfo' message not found.";
1099 return _m;
1100 }
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114 @SuppressWarnings("unused")
1115 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1116 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1117 {
1118 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1119 assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1120 return _m;
1121 }
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135 @SuppressWarnings("unused")
1136 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1137 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1138 {
1139 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1140 assert _m != null : "'commandFailureMessage' message not found.";
1141 return _m;
1142 }
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156 @SuppressWarnings("unused")
1157 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1158 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1159 {
1160 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1161 assert _m != null : "'commandInfoMessage' message not found.";
1162 return _m;
1163 }
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177 @SuppressWarnings("unused")
1178 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1179 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1180 {
1181 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1182 assert _m != null : "'commandSuccessMessage' message not found.";
1183 return _m;
1184 }
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198 @SuppressWarnings("unused")
1199 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1200 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1201 {
1202 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1203 assert _m != null : "'defaultLogLevelInfo' message not found.";
1204 return _m;
1205 }
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219 @SuppressWarnings("unused")
1220 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1221 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1222 {
1223 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1224 assert _m != null : "'documentFileInfo' message not found.";
1225 return _m;
1226 }
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240 @SuppressWarnings("unused")
1241 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1242 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1243 {
1244 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1245 assert _m != null : "'documentFileNotFoundWarning' message not found.";
1246 return _m;
1247 }
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262 @SuppressWarnings("unused")
1263 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1264 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1265 {
1266 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1267 assert _m != null : "'excludedModletInfo' message not found.";
1268 return _m;
1269 }
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284 @SuppressWarnings("unused")
1285 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1286 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1287 {
1288 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1289 assert _m != null : "'excludedProviderInfo' message not found.";
1290 return _m;
1291 }
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306 @SuppressWarnings("unused")
1307 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1308 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1309 {
1310 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1311 assert _m != null : "'excludedSchemaInfo' message not found.";
1312 return _m;
1313 }
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328 @SuppressWarnings("unused")
1329 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1330 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1331 {
1332 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1333 assert _m != null : "'excludedServiceInfo' message not found.";
1334 return _m;
1335 }
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349 @SuppressWarnings("unused")
1350 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1351 private String getExcludingModuleInfo( final java.util.Locale locale, final java.lang.String moduleName )
1352 {
1353 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludingModuleInfo", locale, moduleName );
1354 assert _m != null : "'excludingModuleInfo' message not found.";
1355 return _m;
1356 }
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370 @SuppressWarnings("unused")
1371 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1372 private String getIllegalTransformationResultError( final java.util.Locale locale, final java.lang.String stylesheetInfo )
1373 {
1374 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "illegalTransformationResultError", locale, stylesheetInfo );
1375 assert _m != null : "'illegalTransformationResultError' message not found.";
1376 return _m;
1377 }
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391 @SuppressWarnings("unused")
1392 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1393 private String getIncludingModuleInfo( final java.util.Locale locale, final java.lang.String moduleName )
1394 {
1395 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "includingModuleInfo", locale, moduleName );
1396 assert _m != null : "'includingModuleInfo' message not found.";
1397 return _m;
1398 }
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412 @SuppressWarnings("unused")
1413 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1414 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1415 {
1416 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1417 assert _m != null : "'invalidModelMessage' message not found.";
1418 return _m;
1419 }
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432 @SuppressWarnings("unused")
1433 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1434 private String getLongDescriptionMessage( final java.util.Locale locale )
1435 {
1436 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1437 assert _m != null : "'longDescriptionMessage' message not found.";
1438 return _m;
1439 }
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453 @SuppressWarnings("unused")
1454 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1455 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1456 {
1457 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1458 assert _m != null : "'readingMessage' message not found.";
1459 return _m;
1460 }
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472 @SuppressWarnings("unused")
1473 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1474 private String getSeparator( final java.util.Locale locale )
1475 {
1476 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1477 assert _m != null : "'separator' message not found.";
1478 return _m;
1479 }
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492 @SuppressWarnings("unused")
1493 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1494 private String getShortDescriptionMessage( final java.util.Locale locale )
1495 {
1496 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1497 assert _m != null : "'shortDescriptionMessage' message not found.";
1498 return _m;
1499 }
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513 @SuppressWarnings("unused")
1514 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1515 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName )
1516 {
1517 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "writeInfo", locale, fileName );
1518 assert _m != null : "'writeInfo' message not found.";
1519 return _m;
1520 }
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" )
1630 @Override
1631 public org.apache.commons.cli.Options getOptions()
1632 {
1633 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1634 options.addOption( this.getClasspathOption() );
1635 options.addOption( this.getDocumentEncodingOption() );
1636 options.addOption( this.getDocumentOption() );
1637 options.addOption( this.getDocumentsOption() );
1638 options.addOption( this.getModelContextFactoryOption() );
1639 options.addOption( this.getModelOption() );
1640 options.addOption( this.getModletLocationOption() );
1641 options.addOption( this.getModletSchemaSystemIdOption() );
1642 options.addOption( this.getModuleExcludesOption() );
1643 options.addOption( this.getModuleIncludesOption() );
1644 options.addOption( this.getModuleLocationOption() );
1645 options.addOption( this.getModuleNameOption() );
1646 options.addOption( this.getModuleVendorOption() );
1647 options.addOption( this.getModuleVersionOption() );
1648 options.addOption( this.getNoClasspathResolutionOption() );
1649 options.addOption( this.getNoModelProcessingOption() );
1650 options.addOption( this.getNoModelResourceValidation() );
1651 options.addOption( this.getNoModletResourceValidation() );
1652 options.addOption( this.getPlatformProviderLocationOption() );
1653 options.addOption( this.getProviderLocationOption() );
1654 options.addOption( this.getResourcesOption() );
1655 options.addOption( this.getStylesheetOption() );
1656 options.addOption( this.getTransformerLocationOption() );
1657 return options;
1658 }
1659
1660
1661 }