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.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.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.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.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 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
424 private org.apache.commons.cli.Option getClasspathOption()
425 {
426 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
427 assert _d != null : "'ClasspathOption' dependency not found.";
428 return _d;
429 }
430
431
432
433
434
435
436
437
438
439
440
441
442 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
443 private org.apache.commons.cli.Option getDocumentEncodingOption()
444 {
445 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentEncodingOption" );
446 assert _d != null : "'DocumentEncodingOption' dependency not found.";
447 return _d;
448 }
449
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 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
476 private org.apache.commons.cli.Option getDocumentOption()
477 {
478 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentOption" );
479 assert _d != null : "'DocumentOption' dependency not found.";
480 return _d;
481 }
482
483
484
485
486
487
488
489
490
491
492
493
494 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
495 private org.apache.commons.cli.Option getDocumentsOption()
496 {
497 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
498 assert _d != null : "'DocumentsOption' dependency not found.";
499 return _d;
500 }
501
502
503
504
505
506
507
508
509
510
511
512
513 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
514 private java.util.Locale getLocale()
515 {
516 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
517 assert _d != null : "'Locale' dependency not found.";
518 return _d;
519 }
520
521
522
523
524
525
526
527
528
529
530
531
532 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
533 private org.apache.commons.cli.Option getModelContextFactoryOption()
534 {
535 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
536 assert _d != null : "'ModelContextFactoryOption' dependency not found.";
537 return _d;
538 }
539
540
541
542
543
544
545
546
547
548
549
550
551 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
552 private org.apache.commons.cli.Option getModelOption()
553 {
554 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
555 assert _d != null : "'ModelOption' dependency not found.";
556 return _d;
557 }
558
559
560
561
562
563
564
565
566
567
568
569
570 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
571 private org.apache.commons.cli.Option getModletLocationOption()
572 {
573 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
574 assert _d != null : "'ModletLocationOption' dependency not found.";
575 return _d;
576 }
577
578
579
580
581
582
583
584
585
586
587
588
589 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
590 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
591 {
592 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
593 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
594 return _d;
595 }
596
597
598
599
600
601
602
603
604
605
606
607
608 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
609 private org.apache.commons.cli.Option getModuleExcludesOption()
610 {
611 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleExcludesOption" );
612 assert _d != null : "'ModuleExcludesOption' dependency not found.";
613 return _d;
614 }
615
616
617
618
619
620
621
622
623
624
625
626
627 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
628 private org.apache.commons.cli.Option getModuleIncludesOption()
629 {
630 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleIncludesOption" );
631 assert _d != null : "'ModuleIncludesOption' dependency not found.";
632 return _d;
633 }
634
635
636
637
638
639
640
641
642
643
644
645
646 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
647 private org.apache.commons.cli.Option getModuleLocationOption()
648 {
649 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
650 assert _d != null : "'ModuleLocationOption' dependency not found.";
651 return _d;
652 }
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
680 private org.apache.commons.cli.Option getModuleNameOption()
681 {
682 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
683 assert _d != null : "'ModuleNameOption' dependency not found.";
684 return _d;
685 }
686
687
688
689
690
691
692
693
694
695
696
697
698 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
699 private org.apache.commons.cli.Option getModuleVendorOption()
700 {
701 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleVendorOption" );
702 assert _d != null : "'ModuleVendorOption' dependency not found.";
703 return _d;
704 }
705
706
707
708
709
710
711
712
713
714
715
716
717 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
718 private org.apache.commons.cli.Option getModuleVersionOption()
719 {
720 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleVersionOption" );
721 assert _d != null : "'ModuleVersionOption' dependency not found.";
722 return _d;
723 }
724
725
726
727
728
729
730
731
732
733
734
735
736 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
737 private org.apache.commons.cli.Option getNoClasspathResolutionOption()
738 {
739 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
740 assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
741 return _d;
742 }
743
744
745
746
747
748
749
750
751
752
753
754
755 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
756 private org.apache.commons.cli.Option getNoModelProcessingOption()
757 {
758 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
759 assert _d != null : "'NoModelProcessingOption' dependency not found.";
760 return _d;
761 }
762
763
764
765
766
767
768
769
770
771
772
773
774 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
775 private org.apache.commons.cli.Option getNoModelResourceValidation()
776 {
777 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
778 assert _d != null : "'NoModelResourceValidation' dependency not found.";
779 return _d;
780 }
781
782
783
784
785
786
787
788
789
790
791
792
793 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
794 private org.apache.commons.cli.Option getNoModletResourceValidation()
795 {
796 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
797 assert _d != null : "'NoModletResourceValidation' dependency not found.";
798 return _d;
799 }
800
801
802
803
804
805
806
807
808
809
810
811
812 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
813 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
814 {
815 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
816 assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
817 return _d;
818 }
819
820
821
822
823
824
825
826
827
828
829
830
831 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
832 private org.apache.commons.cli.Option getProviderLocationOption()
833 {
834 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
835 assert _d != null : "'ProviderLocationOption' dependency not found.";
836 return _d;
837 }
838
839
840
841
842
843
844
845
846
847
848
849
850 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
851 private org.apache.commons.cli.Option getResourcesOption()
852 {
853 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourcesOption" );
854 assert _d != null : "'ResourcesOption' dependency not found.";
855 return _d;
856 }
857
858
859
860
861
862
863
864
865
866
867
868
869 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
870 private org.apache.commons.cli.Option getStylesheetOption()
871 {
872 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "StylesheetOption" );
873 assert _d != null : "'StylesheetOption' dependency not found.";
874 return _d;
875 }
876
877
878
879
880
881
882
883
884
885
886
887
888 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
889 private org.apache.commons.cli.Option getTransformerLocationOption()
890 {
891 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
892 assert _d != null : "'TransformerLocationOption' dependency not found.";
893 return _d;
894 }
895
896
897
898
899
900
901
902
903
904
905
906
907 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
908 private java.lang.String getAbbreviatedCommandName()
909 {
910 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
911 assert _p != null : "'abbreviatedCommandName' property not found.";
912 return _p;
913 }
914
915
916
917
918
919
920
921
922 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
923 private java.lang.String getApplicationModlet()
924 {
925 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
926 assert _p != null : "'applicationModlet' property not found.";
927 return _p;
928 }
929
930
931
932
933
934
935
936
937 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
938 private java.lang.String getCommandName()
939 {
940 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
941 assert _p != null : "'commandName' property not found.";
942 return _p;
943 }
944
945
946
947
948
949
950
951
952 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
953 private java.lang.String getModletExcludes()
954 {
955 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
956 assert _p != null : "'modletExcludes' property not found.";
957 return _p;
958 }
959
960
961
962
963
964
965
966
967 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
968 private java.lang.String getProviderExcludes()
969 {
970 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
971 assert _p != null : "'providerExcludes' property not found.";
972 return _p;
973 }
974
975
976
977
978
979
980
981
982 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
983 private java.lang.String getSchemaExcludes()
984 {
985 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
986 assert _p != null : "'schemaExcludes' property not found.";
987 return _p;
988 }
989
990
991
992
993
994
995
996
997 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
998 private java.lang.String getServiceExcludes()
999 {
1000 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
1001 assert _p != null : "'serviceExcludes' property not found.";
1002 return _p;
1003 }
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1020 private String getApplicationTitle( final java.util.Locale locale )
1021 {
1022 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
1023 assert _m != null : "'applicationTitle' message not found.";
1024 return _m;
1025 }
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1041 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1042 {
1043 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
1044 assert _m != null : "'cannotProcessMessage' message not found.";
1045 return _m;
1046 }
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1061 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1062 {
1063 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
1064 assert _m != null : "'classpathElementInfo' message not found.";
1065 return _m;
1066 }
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1081 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1082 {
1083 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1084 assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1085 return _m;
1086 }
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1101 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1102 {
1103 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1104 assert _m != null : "'commandFailureMessage' message not found.";
1105 return _m;
1106 }
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1121 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1122 {
1123 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1124 assert _m != null : "'commandInfoMessage' message not found.";
1125 return _m;
1126 }
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1141 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1142 {
1143 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1144 assert _m != null : "'commandSuccessMessage' message not found.";
1145 return _m;
1146 }
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1161 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1162 {
1163 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1164 assert _m != null : "'defaultLogLevelInfo' message not found.";
1165 return _m;
1166 }
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1181 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1182 {
1183 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1184 assert _m != null : "'documentFileInfo' message not found.";
1185 return _m;
1186 }
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1201 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1202 {
1203 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1204 assert _m != null : "'documentFileNotFoundWarning' message not found.";
1205 return _m;
1206 }
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1222 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1223 {
1224 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1225 assert _m != null : "'excludedModletInfo' message not found.";
1226 return _m;
1227 }
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1243 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1244 {
1245 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1246 assert _m != null : "'excludedProviderInfo' message not found.";
1247 return _m;
1248 }
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1264 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1265 {
1266 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1267 assert _m != null : "'excludedSchemaInfo' message not found.";
1268 return _m;
1269 }
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1285 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1286 {
1287 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1288 assert _m != null : "'excludedServiceInfo' message not found.";
1289 return _m;
1290 }
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1305 private String getExcludingModuleInfo( final java.util.Locale locale, final java.lang.String moduleName )
1306 {
1307 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludingModuleInfo", locale, moduleName );
1308 assert _m != null : "'excludingModuleInfo' message not found.";
1309 return _m;
1310 }
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1325 private String getIllegalTransformationResultError( final java.util.Locale locale, final java.lang.String stylesheetInfo )
1326 {
1327 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "illegalTransformationResultError", locale, stylesheetInfo );
1328 assert _m != null : "'illegalTransformationResultError' message not found.";
1329 return _m;
1330 }
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1345 private String getIncludingModuleInfo( final java.util.Locale locale, final java.lang.String moduleName )
1346 {
1347 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "includingModuleInfo", locale, moduleName );
1348 assert _m != null : "'includingModuleInfo' message not found.";
1349 return _m;
1350 }
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1365 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1366 {
1367 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1368 assert _m != null : "'invalidModelMessage' message not found.";
1369 return _m;
1370 }
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1384 private String getLongDescriptionMessage( final java.util.Locale locale )
1385 {
1386 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1387 assert _m != null : "'longDescriptionMessage' message not found.";
1388 return _m;
1389 }
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1404 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1405 {
1406 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1407 assert _m != null : "'readingMessage' message not found.";
1408 return _m;
1409 }
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1422 private String getSeparator( final java.util.Locale locale )
1423 {
1424 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1425 assert _m != null : "'separator' message not found.";
1426 return _m;
1427 }
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1441 private String getShortDescriptionMessage( final java.util.Locale locale )
1442 {
1443 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1444 assert _m != null : "'shortDescriptionMessage' message not found.";
1445 return _m;
1446 }
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1461 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName )
1462 {
1463 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "writeInfo", locale, fileName );
1464 assert _m != null : "'writeInfo' message not found.";
1465 return _m;
1466 }
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
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 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" )
1576 @Override
1577 public org.apache.commons.cli.Options getOptions()
1578 {
1579 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1580 options.addOption( this.getClasspathOption() );
1581 options.addOption( this.getDocumentEncodingOption() );
1582 options.addOption( this.getDocumentOption() );
1583 options.addOption( this.getDocumentsOption() );
1584 options.addOption( this.getModelContextFactoryOption() );
1585 options.addOption( this.getModelOption() );
1586 options.addOption( this.getModletLocationOption() );
1587 options.addOption( this.getModletSchemaSystemIdOption() );
1588 options.addOption( this.getModuleExcludesOption() );
1589 options.addOption( this.getModuleIncludesOption() );
1590 options.addOption( this.getModuleLocationOption() );
1591 options.addOption( this.getModuleNameOption() );
1592 options.addOption( this.getModuleVendorOption() );
1593 options.addOption( this.getModuleVersionOption() );
1594 options.addOption( this.getNoClasspathResolutionOption() );
1595 options.addOption( this.getNoModelProcessingOption() );
1596 options.addOption( this.getNoModelResourceValidation() );
1597 options.addOption( this.getNoModletResourceValidation() );
1598 options.addOption( this.getPlatformProviderLocationOption() );
1599 options.addOption( this.getProviderLocationOption() );
1600 options.addOption( this.getResourcesOption() );
1601 options.addOption( this.getStylesheetOption() );
1602 options.addOption( this.getTransformerLocationOption() );
1603 return options;
1604 }
1605
1606
1607 }