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.modlet.DefaultModletProvider;
57 import org.jomc.modlet.ModelContext;
58 import org.jomc.modlet.ModelException;
59 import org.jomc.modlet.ModelValidationReport;
60 import org.jomc.modlet.Modlet;
61 import org.jomc.modlet.ModletObject;
62 import org.jomc.modlet.Modlets;
63 import org.jomc.modlet.ObjectFactory;
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
88
89
90 public final class MergeModletsCommand extends AbstractModletCommand
91 {
92
93
94
95
96 protected void executeCommand( final CommandLine commandLine ) throws CommandExecutionException
97 {
98 if ( commandLine == null )
99 {
100 throw new NullPointerException( "commandLine" );
101 }
102
103 CommandLineClassLoader classLoader = null;
104 boolean suppressExceptionOnClose = true;
105
106 try
107 {
108 classLoader = new CommandLineClassLoader( commandLine );
109 final Modlets modlets = new Modlets();
110 final ModelContext context = this.createModelContext( commandLine, classLoader );
111 final Marshaller marshaller = context.createMarshaller( ModletObject.MODEL_PUBLIC_ID );
112 final Unmarshaller unmarshaller = context.createUnmarshaller( ModletObject.MODEL_PUBLIC_ID );
113
114 if ( !commandLine.hasOption( this.getNoModletResourceValidation().getOpt() ) )
115 {
116 unmarshaller.setSchema( context.createSchema( ModletObject.MODEL_PUBLIC_ID ) );
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 modletVersion = null;
126 if ( commandLine.hasOption( this.getModletVersionOption().getOpt() ) )
127 {
128 modletVersion = commandLine.getOptionValue( this.getModletVersionOption().getOpt() );
129 }
130
131 String modletVendor = null;
132 if ( commandLine.hasOption( this.getModletVendorOption().getOpt() ) )
133 {
134 modletVendor = commandLine.getOptionValue( this.getModletVendorOption().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 Modlet )
153 {
154 modlets.getModlet().add( (Modlet) o );
155 }
156 else if ( o instanceof Modlets )
157 {
158 modlets.getModlet().addAll( ( (Modlets) o ).getModlet() );
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 DefaultModletProvider.getDefaultModletLocation()
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 Modlet )
206 {
207 modlets.getModlet().add( (Modlet) o );
208 }
209 else if ( o instanceof Modlets )
210 {
211 modlets.getModlet().addAll( ( (Modlets) o ).getModlet() );
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 for ( final Iterator<Modlet> it = modlets.getModlet().iterator(); it.hasNext(); )
224 {
225 if ( this.getApplicationModlet().equals( it.next().getName() ) )
226 {
227 it.remove();
228 }
229 }
230
231 modlets.getModlet().addAll( classLoader.getExcludedModlets().getModlet() );
232
233 if ( commandLine.hasOption( this.getModletIncludesOption().getOpt() ) )
234 {
235 final String[] values = commandLine.getOptionValues( this.getModletIncludesOption().getOpt() );
236
237 if ( values != null )
238 {
239 final List<String> includes = Arrays.asList( values );
240
241 for ( final Iterator<Modlet> it = modlets.getModlet().iterator(); it.hasNext(); )
242 {
243 final Modlet m = it.next();
244 if ( !includes.contains( m.getName() ) )
245 {
246 this.log( Level.INFO, this.getExcludingModletInfo( this.getLocale(), m.getName() ), null );
247 it.remove();
248 }
249 else
250 {
251 this.log( Level.INFO, this.getIncludingModletInfo( this.getLocale(), m.getName() ), null );
252 }
253 }
254 }
255 }
256
257 if ( commandLine.hasOption( this.getModletExcludesOption().getOpt() ) )
258 {
259 final String[] values = commandLine.getOptionValues( this.getModletExcludesOption().getOpt() );
260
261 if ( values != null )
262 {
263 for ( String exclude : values )
264 {
265 final Modlet m = modlets.getModlet( exclude );
266
267 if ( m != null )
268 {
269 this.log( Level.INFO, this.getExcludingModletInfo( this.getLocale(), m.getName() ), null );
270 modlets.getModlet().remove( m );
271 }
272 }
273 }
274 }
275
276 final ModelValidationReport validationReport =
277 context.validateModel( ModletObject.MODEL_PUBLIC_ID,
278 new JAXBSource( marshaller, new ObjectFactory().createModlets( modlets ) ) );
279
280 this.log( validationReport, marshaller );
281
282 if ( !validationReport.isModelValid() )
283 {
284 throw new CommandExecutionException( this.getInvalidModelMessage(
285 this.getLocale(), ModletObject.MODEL_PUBLIC_ID ) );
286
287 }
288
289 Modlet mergedModlet = modlets.getMergedModlet(
290 commandLine.getOptionValue( this.getModletNameOption().getOpt() ), this.getModel( commandLine ) );
291
292 mergedModlet.setVersion( modletVersion );
293 mergedModlet.setVendor( modletVendor );
294
295 final File modletFile = new File( commandLine.getOptionValue( this.getDocumentOption().getOpt() ) );
296
297 if ( stylesheetFile != null )
298 {
299 final Transformer transformer = this.createTransformer( new StreamSource( stylesheetFile ) );
300 final JAXBSource source =
301 new JAXBSource( marshaller, new ObjectFactory().createModlet( mergedModlet ) );
302
303 final JAXBResult result = new JAXBResult( unmarshaller );
304 unmarshaller.setSchema( null );
305 transformer.transform( source, result );
306
307 if ( result.getResult() instanceof JAXBElement<?>
308 && ( (JAXBElement<?>) result.getResult() ).getValue() instanceof Modlet )
309 {
310 mergedModlet = (Modlet) ( (JAXBElement<?>) result.getResult() ).getValue();
311 }
312 else
313 {
314 throw new CommandExecutionException( this.getIllegalTransformationResultError(
315 this.getLocale(), stylesheetFile.getAbsolutePath() ) );
316
317 }
318 }
319
320 marshaller.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE );
321
322 if ( commandLine.hasOption( this.getDocumentEncodingOption().getOpt() ) )
323 {
324 marshaller.setProperty( Marshaller.JAXB_ENCODING,
325 commandLine.getOptionValue( this.getDocumentEncodingOption().getOpt() ) );
326
327 }
328
329 marshaller.setSchema( context.createSchema( ModletObject.MODEL_PUBLIC_ID ) );
330 marshaller.marshal( new ObjectFactory().createModlet( mergedModlet ), modletFile );
331
332 if ( this.isLoggable( Level.INFO ) )
333 {
334 this.log( Level.INFO, this.getWriteInfo( this.getLocale(), modletFile.getAbsolutePath() ), null );
335 }
336
337 suppressExceptionOnClose = false;
338 }
339 catch ( final IOException e )
340 {
341 throw new CommandExecutionException( getExceptionMessage( e ), e );
342 }
343 catch ( final TransformerException e )
344 {
345 String message = getExceptionMessage( e );
346 if ( message == null )
347 {
348 message = getExceptionMessage( e.getException() );
349 }
350
351 throw new CommandExecutionException( message, e );
352 }
353 catch ( final JAXBException e )
354 {
355 String message = getExceptionMessage( e );
356 if ( message == null )
357 {
358 message = getExceptionMessage( e.getLinkedException() );
359 }
360
361 throw new CommandExecutionException( message, e );
362 }
363 catch ( final ModelException e )
364 {
365 throw new CommandExecutionException( getExceptionMessage( e ), e );
366 }
367 finally
368 {
369 try
370 {
371 if ( classLoader != null )
372 {
373 classLoader.close();
374 }
375 }
376 catch ( final IOException e )
377 {
378 if ( suppressExceptionOnClose )
379 {
380 this.log( Level.SEVERE, getExceptionMessage( e ), e );
381 }
382 else
383 {
384 throw new CommandExecutionException( getExceptionMessage( e ), e );
385 }
386 }
387 }
388 }
389
390
391
392
393
394 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
395 public MergeModletsCommand()
396 {
397
398 super();
399
400 }
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
418 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
419 private org.apache.commons.cli.Option getClasspathOption()
420 {
421 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Classpath Option" );
422 assert _d != null : "'Classpath Option' dependency not found.";
423 return _d;
424 }
425
426
427
428
429
430
431
432
433
434
435
436
437 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
438 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
439 private org.apache.commons.cli.Option getDocumentEncodingOption()
440 {
441 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Document Encoding Option" );
442 assert _d != null : "'Document Encoding Option' dependency not found.";
443 return _d;
444 }
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
472 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
473 private org.apache.commons.cli.Option getDocumentOption()
474 {
475 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Document Option" );
476 assert _d != null : "'Document Option' dependency not found.";
477 return _d;
478 }
479
480
481
482
483
484
485
486
487
488
489
490
491 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
492 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
493 private org.apache.commons.cli.Option getDocumentsOption()
494 {
495 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Documents Option" );
496 assert _d != null : "'Documents Option' dependency not found.";
497 return _d;
498 }
499
500
501
502
503
504
505
506
507
508
509
510
511 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
512 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
513 private java.util.Locale getLocale()
514 {
515 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
516 assert _d != null : "'Locale' dependency not found.";
517 return _d;
518 }
519
520
521
522
523
524
525
526
527
528
529
530
531 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
532 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
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, "Model Context Factory Option" );
536 assert _d != null : "'Model Context Factory Option' dependency not found.";
537 return _d;
538 }
539
540
541
542
543
544
545
546
547
548
549
550
551 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
552 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
553 private org.apache.commons.cli.Option getModelOption()
554 {
555 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Option" );
556 assert _d != null : "'Model Option' dependency not found.";
557 return _d;
558 }
559
560
561
562
563
564
565
566
567
568
569
570
571 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
572 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
573 private org.apache.commons.cli.Option getModletExcludesOption()
574 {
575 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Excludes Option" );
576 assert _d != null : "'Modlet Excludes Option' dependency not found.";
577 return _d;
578 }
579
580
581
582
583
584
585
586
587
588
589
590
591 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
592 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
593 private org.apache.commons.cli.Option getModletIncludesOption()
594 {
595 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Includes Option" );
596 assert _d != null : "'Modlet Includes Option' dependency not found.";
597 return _d;
598 }
599
600
601
602
603
604
605
606
607
608
609
610
611 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
612 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
613 private org.apache.commons.cli.Option getModletLocationOption()
614 {
615 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Location Option" );
616 assert _d != null : "'Modlet Location Option' dependency not found.";
617 return _d;
618 }
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
646 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
647 private org.apache.commons.cli.Option getModletNameOption()
648 {
649 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Name Option" );
650 assert _d != null : "'Modlet Name Option' dependency not found.";
651 return _d;
652 }
653
654
655
656
657
658
659
660
661
662
663
664
665 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
666 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
667 private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
668 {
669 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" );
670 assert _d != null : "'Modlet Schema System Id Option' dependency not found.";
671 return _d;
672 }
673
674
675
676
677
678
679
680
681
682
683
684
685 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
686 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
687 private org.apache.commons.cli.Option getModletVendorOption()
688 {
689 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Vendor Option" );
690 assert _d != null : "'Modlet Vendor Option' dependency not found.";
691 return _d;
692 }
693
694
695
696
697
698
699
700
701
702
703
704
705 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
706 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
707 private org.apache.commons.cli.Option getModletVersionOption()
708 {
709 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Version Option" );
710 assert _d != null : "'Modlet Version Option' dependency not found.";
711 return _d;
712 }
713
714
715
716
717
718
719
720
721
722
723
724
725 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
726 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
727 private org.apache.commons.cli.Option getNoModletResourceValidation()
728 {
729 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" );
730 assert _d != null : "'No Modlet Resource Validation' dependency not found.";
731 return _d;
732 }
733
734
735
736
737
738
739
740
741
742
743
744
745 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
746 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
747 private org.apache.commons.cli.Option getPlatformProviderLocationOption()
748 {
749 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" );
750 assert _d != null : "'Platform Provider Location Option' dependency not found.";
751 return _d;
752 }
753
754
755
756
757
758
759
760
761
762
763
764
765 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
766 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
767 private org.apache.commons.cli.Option getProviderLocationOption()
768 {
769 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" );
770 assert _d != null : "'Provider Location Option' dependency not found.";
771 return _d;
772 }
773
774
775
776
777
778
779
780
781
782
783
784
785 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
786 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
787 private org.apache.commons.cli.Option getResourcesOption()
788 {
789 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Resources Option" );
790 assert _d != null : "'Resources Option' dependency not found.";
791 return _d;
792 }
793
794
795
796
797
798
799
800
801
802
803
804
805 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
806 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
807 private org.apache.commons.cli.Option getStylesheetOption()
808 {
809 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Stylesheet Option" );
810 assert _d != null : "'Stylesheet Option' dependency not found.";
811 return _d;
812 }
813
814
815
816
817
818
819
820
821
822
823
824
825 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
826 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
827 private java.lang.String getAbbreviatedCommandName()
828 {
829 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" );
830 assert _p != null : "'Abbreviated Command Name' property not found.";
831 return _p;
832 }
833
834
835
836
837
838
839
840
841 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
842 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
843 private java.lang.String getApplicationModlet()
844 {
845 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" );
846 assert _p != null : "'Application Modlet' property not found.";
847 return _p;
848 }
849
850
851
852
853
854
855
856
857 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
858 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
859 private java.lang.String getCommandName()
860 {
861 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" );
862 assert _p != null : "'Command Name' property not found.";
863 return _p;
864 }
865
866
867
868
869
870
871
872
873 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
874 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
875 private java.lang.String getModletExcludes()
876 {
877 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" );
878 assert _p != null : "'Modlet Excludes' property not found.";
879 return _p;
880 }
881
882
883
884
885
886
887
888
889 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
890 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
891 private java.lang.String getProviderExcludes()
892 {
893 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" );
894 assert _p != null : "'Provider Excludes' property not found.";
895 return _p;
896 }
897
898
899
900
901
902
903
904
905 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
906 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
907 private java.lang.String getSchemaExcludes()
908 {
909 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" );
910 assert _p != null : "'Schema Excludes' property not found.";
911 return _p;
912 }
913
914
915
916
917
918
919
920
921 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
922 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
923 private java.lang.String getServiceExcludes()
924 {
925 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" );
926 assert _p != null : "'Service Excludes' property not found.";
927 return _p;
928 }
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
945 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
946 private String getApplicationTitle( final java.util.Locale locale )
947 {
948 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale );
949 assert _m != null : "'Application Title' message not found.";
950 return _m;
951 }
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
967 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
968 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
969 {
970 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage );
971 assert _m != null : "'Cannot Process Message' message not found.";
972 return _m;
973 }
974
975
976
977
978
979
980
981
982
983
984
985
986
987 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
988 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
989 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
990 {
991 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement );
992 assert _m != null : "'Classpath Element Info' message not found.";
993 return _m;
994 }
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1009 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1010 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1011 {
1012 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName );
1013 assert _m != null : "'Classpath Element Not Found Warning' message not found.";
1014 return _m;
1015 }
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1030 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1031 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1032 {
1033 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName );
1034 assert _m != null : "'Command Failure Message' message not found.";
1035 return _m;
1036 }
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1051 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1052 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1053 {
1054 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName );
1055 assert _m != null : "'Command Info Message' message not found.";
1056 return _m;
1057 }
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1072 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1073 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1074 {
1075 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName );
1076 assert _m != null : "'Command Success Message' message not found.";
1077 return _m;
1078 }
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1093 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1094 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1095 {
1096 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel );
1097 assert _m != null : "'Default Log Level Info' message not found.";
1098 return _m;
1099 }
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1114 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1115 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1116 {
1117 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile );
1118 assert _m != null : "'Document File Info' message not found.";
1119 return _m;
1120 }
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1135 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1136 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1137 {
1138 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName );
1139 assert _m != null : "'Document File Not Found Warning' message not found.";
1140 return _m;
1141 }
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1157 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1158 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1159 {
1160 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier );
1161 assert _m != null : "'Excluded Modlet Info' message not found.";
1162 return _m;
1163 }
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1179 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1180 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1181 {
1182 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName );
1183 assert _m != null : "'Excluded Provider Info' message not found.";
1184 return _m;
1185 }
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1201 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1202 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1203 {
1204 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId );
1205 assert _m != null : "'Excluded Schema Info' message not found.";
1206 return _m;
1207 }
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1223 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1224 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1225 {
1226 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName );
1227 assert _m != null : "'Excluded Service Info' message not found.";
1228 return _m;
1229 }
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1244 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1245 private String getExcludingModletInfo( final java.util.Locale locale, final java.lang.String modletName )
1246 {
1247 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluding Modlet Info", locale, modletName );
1248 assert _m != null : "'Excluding Modlet Info' message not found.";
1249 return _m;
1250 }
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1265 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1266 private String getIllegalTransformationResultError( final java.util.Locale locale, final java.lang.String stylesheetInfo )
1267 {
1268 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Illegal Transformation Result Error", locale, stylesheetInfo );
1269 assert _m != null : "'Illegal Transformation Result Error' message not found.";
1270 return _m;
1271 }
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1286 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1287 private String getIncludingModletInfo( final java.util.Locale locale, final java.lang.String modletName )
1288 {
1289 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Including Modlet Info", locale, modletName );
1290 assert _m != null : "'Including Modlet Info' message not found.";
1291 return _m;
1292 }
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1307 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1308 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1309 {
1310 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier );
1311 assert _m != null : "'Invalid Model Message' message not found.";
1312 return _m;
1313 }
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1327 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1328 private String getLongDescriptionMessage( final java.util.Locale locale )
1329 {
1330 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale );
1331 assert _m != null : "'Long Description Message' message not found.";
1332 return _m;
1333 }
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1348 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1349 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1350 {
1351 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo );
1352 assert _m != null : "'Reading Message' message not found.";
1353 return _m;
1354 }
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1367 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1368 private String getSeparator( final java.util.Locale locale )
1369 {
1370 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale );
1371 assert _m != null : "'Separator' message not found.";
1372 return _m;
1373 }
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1387 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1388 private String getShortDescriptionMessage( final java.util.Locale locale )
1389 {
1390 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale );
1391 assert _m != null : "'Short Description Message' message not found.";
1392 return _m;
1393 }
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407 @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
1408 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1409 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName )
1410 {
1411 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Write Info", locale, fileName );
1412 assert _m != null : "'Write Info' message not found.";
1413 return _m;
1414 }
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
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 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" )
1504 @Override
1505 public org.apache.commons.cli.Options getOptions()
1506 {
1507 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1508 options.addOption( this.getClasspathOption() );
1509 options.addOption( this.getDocumentEncodingOption() );
1510 options.addOption( this.getDocumentOption() );
1511 options.addOption( this.getDocumentsOption() );
1512 options.addOption( this.getModelContextFactoryOption() );
1513 options.addOption( this.getModelOption() );
1514 options.addOption( this.getModletExcludesOption() );
1515 options.addOption( this.getModletIncludesOption() );
1516 options.addOption( this.getModletLocationOption() );
1517 options.addOption( this.getModletNameOption() );
1518 options.addOption( this.getModletSchemaSystemIdOption() );
1519 options.addOption( this.getModletVendorOption() );
1520 options.addOption( this.getModletVersionOption() );
1521 options.addOption( this.getNoModletResourceValidation() );
1522 options.addOption( this.getPlatformProviderLocationOption() );
1523 options.addOption( this.getProviderLocationOption() );
1524 options.addOption( this.getResourcesOption() );
1525 options.addOption( this.getStylesheetOption() );
1526 return options;
1527 }
1528
1529
1530 }