View Javadoc

1   // SECTION-START[License Header]
2   // <editor-fold defaultstate="collapsed" desc=" Generated License ">
3   /*
4    *   Java Object Management and Configuration
5    *   Copyright (C) Christian Schulte, 2005-206
6    *   All rights reserved.
7    *
8    *   Redistribution and use in source and binary forms, with or without
9    *   modification, are permitted provided that the following conditions
10   *   are met:
11   *
12   *     o Redistributions of source code must retain the above copyright
13   *       notice, this list of conditions and the following disclaimer.
14   *
15   *     o Redistributions in binary form must reproduce the above copyright
16   *       notice, this list of conditions and the following disclaimer in
17   *       the documentation and/or other materials provided with the
18   *       distribution.
19   *
20   *   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
21   *   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22   *   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
23   *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
24   *   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25   *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26   *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27   *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28   *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29   *   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30   *
31   *   $JOMC: CommitClassesCommand.java 4463 2012-03-28 00:46:22Z schulte2005 $
32   *
33   */
34  // </editor-fold>
35  // SECTION-END
36  package org.jomc.cli.commands;
37  
38  import java.io.File;
39  import java.io.IOException;
40  import java.util.ArrayList;
41  import java.util.List;
42  import java.util.logging.Level;
43  import javax.xml.bind.JAXBContext;
44  import javax.xml.bind.JAXBException;
45  import javax.xml.bind.Marshaller;
46  import javax.xml.bind.util.JAXBSource;
47  import javax.xml.transform.Source;
48  import javax.xml.transform.Transformer;
49  import javax.xml.transform.stream.StreamSource;
50  import org.apache.commons.cli.CommandLine;
51  import org.jomc.model.Implementation;
52  import org.jomc.model.Module;
53  import org.jomc.model.Specification;
54  import org.jomc.modlet.Model;
55  import org.jomc.modlet.ModelContext;
56  import org.jomc.modlet.ModelException;
57  import org.jomc.modlet.ModelValidationReport;
58  import org.jomc.modlet.ObjectFactory;
59  import org.jomc.tools.ClassFileProcessor;
60  
61  // SECTION-START[Documentation]
62  // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
63  /**
64   * JOMC CLI {@code commit-classes} command implementation.
65   *
66   * <dl>
67   *   <dt><b>Identifier:</b></dt><dd>JOMC CLI commit-classes Command</dd>
68   *   <dt><b>Name:</b></dt><dd>default-commit-classes</dd>
69   *   <dt><b>Specifications:</b></dt>
70   *     <dd>JOMC CLI Command @ 1.0</dd>
71   *   <dt><b>Abstract:</b></dt><dd>No</dd>
72   *   <dt><b>Final:</b></dt><dd>No</dd>
73   *   <dt><b>Stateless:</b></dt><dd>No</dd>
74   * </dl>
75   *
76   * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0
77   * @version 1.2.5
78   */
79  // </editor-fold>
80  // SECTION-END
81  // SECTION-START[Annotations]
82  // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
83  @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
84  // </editor-fold>
85  // SECTION-END
86  public final class CommitClassesCommand extends AbstractClassFileProcessorCommand
87  {
88      // SECTION-START[Command]
89      // SECTION-END
90      // SECTION-START[CommitClassesCommand]
91  
92      protected void processClassFiles( final CommandLine commandLine ) throws CommandExecutionException
93      {
94          if ( commandLine == null )
95          {
96              throw new NullPointerException( "commandLine" );
97          }
98  
99          CommandLineClassLoader classLoader = null;
100         boolean suppressExceptionOnClose = true;
101 
102         try
103         {
104             classLoader = new CommandLineClassLoader( commandLine );
105             final ModelContext context = this.createModelContext( commandLine, classLoader );
106             final Model model = this.getModel( context, commandLine );
107             final JAXBContext jaxbContext = context.createContext( model.getIdentifier() );
108             final Marshaller marshaller = context.createMarshaller( model.getIdentifier() );
109             final Source source = new JAXBSource( jaxbContext, new ObjectFactory().createModel( model ) );
110             final ModelValidationReport validationReport = context.validateModel( model.getIdentifier(), source );
111             this.log( validationReport, marshaller );
112 
113             if ( !validationReport.isModelValid() )
114             {
115                 throw new CommandExecutionException( this.getInvalidModelMessage(
116                     this.getLocale(), this.getModel( commandLine ) ) );
117 
118             }
119 
120             final ClassFileProcessor tool = this.createClassFileProcessor( commandLine );
121             tool.setModel( model );
122 
123             final File classesDirectory =
124                 new File( commandLine.getOptionValue( this.getClassesDirectoryOption().getOpt() ) );
125 
126             final List<Transformer> transformers = new ArrayList<Transformer>( 1 );
127 
128             if ( commandLine.hasOption( this.getStylesheetOption().getOpt() ) )
129             {
130                 final File stylesheetFile =
131                     new File( commandLine.getOptionValue( this.getStylesheetOption().getOpt() ) );
132 
133                 transformers.add( this.createTransformer( new StreamSource( stylesheetFile ) ) );
134             }
135 
136             final Specification specification = this.getSpecification( commandLine, model );
137             final Implementation implementation = this.getImplementation( commandLine, model );
138             final Module module = this.getModule( commandLine, model );
139 
140             if ( specification != null )
141             {
142                 tool.commitModelObjects( specification, context, classesDirectory );
143 
144                 if ( !transformers.isEmpty() )
145                 {
146                     tool.transformModelObjects( specification, context, classesDirectory, transformers );
147                 }
148             }
149 
150             if ( implementation != null )
151             {
152                 tool.commitModelObjects( implementation, context, classesDirectory );
153 
154                 if ( !transformers.isEmpty() )
155                 {
156                     tool.transformModelObjects( implementation, context, classesDirectory, transformers );
157                 }
158             }
159 
160             if ( module != null )
161             {
162                 tool.commitModelObjects( module, context, classesDirectory );
163 
164                 if ( !transformers.isEmpty() )
165                 {
166                     tool.transformModelObjects( module, context, classesDirectory, transformers );
167                 }
168             }
169 
170             if ( this.isModulesProcessingRequested( commandLine ) )
171             {
172                 tool.commitModelObjects( context, classesDirectory );
173 
174                 if ( !transformers.isEmpty() )
175                 {
176                     tool.transformModelObjects( context, classesDirectory, transformers );
177                 }
178             }
179 
180             suppressExceptionOnClose = false;
181         }
182         catch ( final JAXBException e )
183         {
184             String message = getExceptionMessage( e );
185             if ( message == null )
186             {
187                 message = getExceptionMessage( e.getLinkedException() );
188             }
189 
190             throw new CommandExecutionException( message, e );
191         }
192         catch ( final ModelException e )
193         {
194             throw new CommandExecutionException( getExceptionMessage( e ), e );
195         }
196         catch ( final IOException e )
197         {
198             throw new CommandExecutionException( getExceptionMessage( e ), e );
199         }
200         finally
201         {
202             try
203             {
204                 if ( classLoader != null )
205                 {
206                     classLoader.close();
207                 }
208             }
209             catch ( final IOException e )
210             {
211                 if ( suppressExceptionOnClose )
212                 {
213                     this.log( Level.SEVERE, getExceptionMessage( e ), e );
214                 }
215                 else
216                 {
217                     throw new CommandExecutionException( getExceptionMessage( e ), e );
218                 }
219             }
220         }
221     }
222 
223     // SECTION-END
224     // SECTION-START[Constructors]
225     // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
226     /** Creates a new {@code CommitClassesCommand} instance. */
227     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
228     public CommitClassesCommand()
229     {
230         // SECTION-START[Default Constructor]
231         super();
232         // SECTION-END
233     }
234     // </editor-fold>
235     // SECTION-END
236     // SECTION-START[Dependencies]
237     // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
238     /**
239      * Gets the {@code <ClassFileProcessorOption>} dependency.
240      * <p>
241      *   This method returns the {@code <JOMC CLI ClassFileProcessor Class Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
242      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
243      * </p>
244      * <dl>
245      *   <dt><b>Final:</b></dt><dd>No</dd>
246      * </dl>
247      * @return The {@code <ClassFileProcessorOption>} dependency.
248      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
249      */
250     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
251     private org.apache.commons.cli.Option getClassFileProcessorOption()
252     {
253         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClassFileProcessorOption" );
254         assert _d != null : "'ClassFileProcessorOption' dependency not found.";
255         return _d;
256     }
257     /**
258      * Gets the {@code <ClassesDirectoryOption>} dependency.
259      * <p>
260      *   This method returns the {@code <JOMC CLI Classes Directory Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
261      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
262      * </p>
263      * <p><strong>Properties:</strong>
264      *   <table border="1" width="100%" cellpadding="3" cellspacing="0">
265      *     <tr class="TableSubHeadingColor">
266      *       <th align="left" scope="col" nowrap><b>Name</b></th>
267      *       <th align="left" scope="col" nowrap><b>Type</b></th>
268      *       <th align="left" scope="col" nowrap><b>Documentation</b></th>
269      *     </tr>
270      *     <tr class="TableRow">
271      *       <td align="left" valign="top" nowrap>{@code <required>}</td>
272      *       <td align="left" valign="top" nowrap>{@code boolean}</td>
273      *       <td align="left" valign="top"></td>
274      *     </tr>
275      *   </table>
276      * </p>
277      * <dl>
278      *   <dt><b>Final:</b></dt><dd>No</dd>
279      * </dl>
280      * @return The {@code <ClassesDirectoryOption>} dependency.
281      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
282      */
283     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
284     private org.apache.commons.cli.Option getClassesDirectoryOption()
285     {
286         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClassesDirectoryOption" );
287         assert _d != null : "'ClassesDirectoryOption' dependency not found.";
288         return _d;
289     }
290     /**
291      * Gets the {@code <ClasspathOption>} dependency.
292      * <p>
293      *   This method returns the {@code <JOMC CLI Classpath Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
294      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
295      * </p>
296      * <dl>
297      *   <dt><b>Final:</b></dt><dd>No</dd>
298      * </dl>
299      * @return The {@code <ClasspathOption>} dependency.
300      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
301      */
302     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
303     private org.apache.commons.cli.Option getClasspathOption()
304     {
305         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
306         assert _d != null : "'ClasspathOption' dependency not found.";
307         return _d;
308     }
309     /**
310      * Gets the {@code <CountryOption>} dependency.
311      * <p>
312      *   This method returns the {@code <JOMC CLI Country Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
313      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
314      * </p>
315      * <dl>
316      *   <dt><b>Final:</b></dt><dd>No</dd>
317      * </dl>
318      * @return The {@code <CountryOption>} dependency.
319      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
320      */
321     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
322     private org.apache.commons.cli.Option getCountryOption()
323     {
324         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" );
325         assert _d != null : "'CountryOption' dependency not found.";
326         return _d;
327     }
328     /**
329      * Gets the {@code <DefaultTemplateProfileOption>} dependency.
330      * <p>
331      *   This method returns the {@code <JOMC CLI Default Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
332      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
333      * </p>
334      * <dl>
335      *   <dt><b>Final:</b></dt><dd>No</dd>
336      * </dl>
337      * @return The {@code <DefaultTemplateProfileOption>} dependency.
338      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
339      */
340     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
341     private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
342     {
343         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" );
344         assert _d != null : "'DefaultTemplateProfileOption' dependency not found.";
345         return _d;
346     }
347     /**
348      * Gets the {@code <DocumentsOption>} dependency.
349      * <p>
350      *   This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
351      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
352      * </p>
353      * <dl>
354      *   <dt><b>Final:</b></dt><dd>No</dd>
355      * </dl>
356      * @return The {@code <DocumentsOption>} dependency.
357      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
358      */
359     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
360     private org.apache.commons.cli.Option getDocumentsOption()
361     {
362         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
363         assert _d != null : "'DocumentsOption' dependency not found.";
364         return _d;
365     }
366     /**
367      * Gets the {@code <ImplementationOption>} dependency.
368      * <p>
369      *   This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
370      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
371      * </p>
372      * <dl>
373      *   <dt><b>Final:</b></dt><dd>No</dd>
374      * </dl>
375      * @return The {@code <ImplementationOption>} dependency.
376      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
377      */
378     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
379     private org.apache.commons.cli.Option getImplementationOption()
380     {
381         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" );
382         assert _d != null : "'ImplementationOption' dependency not found.";
383         return _d;
384     }
385     /**
386      * Gets the {@code <IndentationStringOption>} dependency.
387      * <p>
388      *   This method returns the {@code <JOMC CLI Indentation String Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
389      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
390      * </p>
391      * <dl>
392      *   <dt><b>Final:</b></dt><dd>No</dd>
393      * </dl>
394      * @return The {@code <IndentationStringOption>} dependency.
395      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
396      */
397     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
398     private org.apache.commons.cli.Option getIndentationStringOption()
399     {
400         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" );
401         assert _d != null : "'IndentationStringOption' dependency not found.";
402         return _d;
403     }
404     /**
405      * Gets the {@code <InputEncodingOption>} dependency.
406      * <p>
407      *   This method returns the {@code <JOMC CLI Input Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
408      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
409      * </p>
410      * <dl>
411      *   <dt><b>Final:</b></dt><dd>No</dd>
412      * </dl>
413      * @return The {@code <InputEncodingOption>} dependency.
414      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
415      */
416     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
417     private org.apache.commons.cli.Option getInputEncodingOption()
418     {
419         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
420         assert _d != null : "'InputEncodingOption' dependency not found.";
421         return _d;
422     }
423     /**
424      * Gets the {@code <LanguageOption>} dependency.
425      * <p>
426      *   This method returns the {@code <JOMC CLI Language Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
427      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
428      * </p>
429      * <dl>
430      *   <dt><b>Final:</b></dt><dd>No</dd>
431      * </dl>
432      * @return The {@code <LanguageOption>} dependency.
433      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
434      */
435     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
436     private org.apache.commons.cli.Option getLanguageOption()
437     {
438         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
439         assert _d != null : "'LanguageOption' dependency not found.";
440         return _d;
441     }
442     /**
443      * Gets the {@code <LineSeparatorOption>} dependency.
444      * <p>
445      *   This method returns the {@code <JOMC CLI Line Separator Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
446      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
447      * </p>
448      * <dl>
449      *   <dt><b>Final:</b></dt><dd>No</dd>
450      * </dl>
451      * @return The {@code <LineSeparatorOption>} dependency.
452      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
453      */
454     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
455     private org.apache.commons.cli.Option getLineSeparatorOption()
456     {
457         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" );
458         assert _d != null : "'LineSeparatorOption' dependency not found.";
459         return _d;
460     }
461     /**
462      * Gets the {@code <Locale>} dependency.
463      * <p>
464      *   This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1.
465      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
466      * </p>
467      * <dl>
468      *   <dt><b>Final:</b></dt><dd>No</dd>
469      * </dl>
470      * @return The {@code <Locale>} dependency.
471      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
472      */
473     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
474     private java.util.Locale getLocale()
475     {
476         final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
477         assert _d != null : "'Locale' dependency not found.";
478         return _d;
479     }
480     /**
481      * Gets the {@code <LocaleVariantOption>} dependency.
482      * <p>
483      *   This method returns the {@code <JOMC CLI Locale Variant Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
484      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
485      * </p>
486      * <dl>
487      *   <dt><b>Final:</b></dt><dd>No</dd>
488      * </dl>
489      * @return The {@code <LocaleVariantOption>} dependency.
490      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
491      */
492     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
493     private org.apache.commons.cli.Option getLocaleVariantOption()
494     {
495         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" );
496         assert _d != null : "'LocaleVariantOption' dependency not found.";
497         return _d;
498     }
499     /**
500      * Gets the {@code <ModelContextFactoryOption>} dependency.
501      * <p>
502      *   This method returns the {@code <JOMC CLI ModelContextFactory Class Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
503      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
504      * </p>
505      * <dl>
506      *   <dt><b>Final:</b></dt><dd>No</dd>
507      * </dl>
508      * @return The {@code <ModelContextFactoryOption>} dependency.
509      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
510      */
511     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
512     private org.apache.commons.cli.Option getModelContextFactoryOption()
513     {
514         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
515         assert _d != null : "'ModelContextFactoryOption' dependency not found.";
516         return _d;
517     }
518     /**
519      * Gets the {@code <ModelOption>} dependency.
520      * <p>
521      *   This method returns the {@code <JOMC CLI Model Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
522      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
523      * </p>
524      * <dl>
525      *   <dt><b>Final:</b></dt><dd>No</dd>
526      * </dl>
527      * @return The {@code <ModelOption>} dependency.
528      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
529      */
530     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
531     private org.apache.commons.cli.Option getModelOption()
532     {
533         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
534         assert _d != null : "'ModelOption' dependency not found.";
535         return _d;
536     }
537     /**
538      * Gets the {@code <ModletLocationOption>} dependency.
539      * <p>
540      *   This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
541      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
542      * </p>
543      * <dl>
544      *   <dt><b>Final:</b></dt><dd>No</dd>
545      * </dl>
546      * @return The {@code <ModletLocationOption>} dependency.
547      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
548      */
549     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
550     private org.apache.commons.cli.Option getModletLocationOption()
551     {
552         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
553         assert _d != null : "'ModletLocationOption' dependency not found.";
554         return _d;
555     }
556     /**
557      * Gets the {@code <ModletSchemaSystemIdOption>} dependency.
558      * <p>
559      *   This method returns the {@code <JOMC CLI Modlet Schema System Id Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
560      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
561      * </p>
562      * <dl>
563      *   <dt><b>Final:</b></dt><dd>No</dd>
564      * </dl>
565      * @return The {@code <ModletSchemaSystemIdOption>} dependency.
566      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
567      */
568     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
569     private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
570     {
571         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
572         assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
573         return _d;
574     }
575     /**
576      * Gets the {@code <ModuleLocationOption>} dependency.
577      * <p>
578      *   This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
579      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
580      * </p>
581      * <dl>
582      *   <dt><b>Final:</b></dt><dd>No</dd>
583      * </dl>
584      * @return The {@code <ModuleLocationOption>} dependency.
585      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
586      */
587     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
588     private org.apache.commons.cli.Option getModuleLocationOption()
589     {
590         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
591         assert _d != null : "'ModuleLocationOption' dependency not found.";
592         return _d;
593     }
594     /**
595      * Gets the {@code <ModuleNameOption>} dependency.
596      * <p>
597      *   This method returns the {@code <JOMC CLI Module Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
598      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
599      * </p>
600      * <dl>
601      *   <dt><b>Final:</b></dt><dd>No</dd>
602      * </dl>
603      * @return The {@code <ModuleNameOption>} dependency.
604      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
605      */
606     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
607     private org.apache.commons.cli.Option getModuleNameOption()
608     {
609         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
610         assert _d != null : "'ModuleNameOption' dependency not found.";
611         return _d;
612     }
613     /**
614      * Gets the {@code <NoClassProcessingOption>} dependency.
615      * <p>
616      *   This method returns the {@code <JOMC CLI No Class File Processing Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
617      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
618      * </p>
619      * <dl>
620      *   <dt><b>Final:</b></dt><dd>No</dd>
621      * </dl>
622      * @return The {@code <NoClassProcessingOption>} dependency.
623      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
624      */
625     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
626     private org.apache.commons.cli.Option getNoClassProcessingOption()
627     {
628         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClassProcessingOption" );
629         assert _d != null : "'NoClassProcessingOption' dependency not found.";
630         return _d;
631     }
632     /**
633      * Gets the {@code <NoClasspathResolutionOption>} dependency.
634      * <p>
635      *   This method returns the {@code <JOMC CLI No Classpath Resolution Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
636      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
637      * </p>
638      * <dl>
639      *   <dt><b>Final:</b></dt><dd>No</dd>
640      * </dl>
641      * @return The {@code <NoClasspathResolutionOption>} dependency.
642      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
643      */
644     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
645     private org.apache.commons.cli.Option getNoClasspathResolutionOption()
646     {
647         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
648         assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
649         return _d;
650     }
651     /**
652      * Gets the {@code <NoModelProcessingOption>} dependency.
653      * <p>
654      *   This method returns the {@code <JOMC CLI No Model Processing Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
655      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
656      * </p>
657      * <dl>
658      *   <dt><b>Final:</b></dt><dd>No</dd>
659      * </dl>
660      * @return The {@code <NoModelProcessingOption>} dependency.
661      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
662      */
663     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
664     private org.apache.commons.cli.Option getNoModelProcessingOption()
665     {
666         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
667         assert _d != null : "'NoModelProcessingOption' dependency not found.";
668         return _d;
669     }
670     /**
671      * Gets the {@code <NoModelResourceValidation>} dependency.
672      * <p>
673      *   This method returns the {@code <JOMC CLI No Model Resource Validation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
674      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
675      * </p>
676      * <dl>
677      *   <dt><b>Final:</b></dt><dd>No</dd>
678      * </dl>
679      * @return The {@code <NoModelResourceValidation>} dependency.
680      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
681      */
682     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
683     private org.apache.commons.cli.Option getNoModelResourceValidation()
684     {
685         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
686         assert _d != null : "'NoModelResourceValidation' dependency not found.";
687         return _d;
688     }
689     /**
690      * Gets the {@code <NoModletResourceValidation>} dependency.
691      * <p>
692      *   This method returns the {@code <JOMC CLI No Modlet Resource Validation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
693      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
694      * </p>
695      * <dl>
696      *   <dt><b>Final:</b></dt><dd>No</dd>
697      * </dl>
698      * @return The {@code <NoModletResourceValidation>} dependency.
699      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
700      */
701     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
702     private org.apache.commons.cli.Option getNoModletResourceValidation()
703     {
704         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
705         assert _d != null : "'NoModletResourceValidation' dependency not found.";
706         return _d;
707     }
708     /**
709      * Gets the {@code <OutputEncodingOption>} dependency.
710      * <p>
711      *   This method returns the {@code <JOMC CLI Output Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
712      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
713      * </p>
714      * <dl>
715      *   <dt><b>Final:</b></dt><dd>No</dd>
716      * </dl>
717      * @return The {@code <OutputEncodingOption>} dependency.
718      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
719      */
720     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
721     private org.apache.commons.cli.Option getOutputEncodingOption()
722     {
723         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
724         assert _d != null : "'OutputEncodingOption' dependency not found.";
725         return _d;
726     }
727     /**
728      * Gets the {@code <PlatformProviderLocationOption>} dependency.
729      * <p>
730      *   This method returns the {@code <JOMC CLI Platform Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
731      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
732      * </p>
733      * <dl>
734      *   <dt><b>Final:</b></dt><dd>No</dd>
735      * </dl>
736      * @return The {@code <PlatformProviderLocationOption>} dependency.
737      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
738      */
739     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
740     private org.apache.commons.cli.Option getPlatformProviderLocationOption()
741     {
742         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
743         assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
744         return _d;
745     }
746     /**
747      * Gets the {@code <ProviderLocationOption>} dependency.
748      * <p>
749      *   This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
750      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
751      * </p>
752      * <dl>
753      *   <dt><b>Final:</b></dt><dd>No</dd>
754      * </dl>
755      * @return The {@code <ProviderLocationOption>} dependency.
756      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
757      */
758     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
759     private org.apache.commons.cli.Option getProviderLocationOption()
760     {
761         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
762         assert _d != null : "'ProviderLocationOption' dependency not found.";
763         return _d;
764     }
765     /**
766      * Gets the {@code <SpecificationOption>} dependency.
767      * <p>
768      *   This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
769      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
770      * </p>
771      * <dl>
772      *   <dt><b>Final:</b></dt><dd>No</dd>
773      * </dl>
774      * @return The {@code <SpecificationOption>} dependency.
775      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
776      */
777     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
778     private org.apache.commons.cli.Option getSpecificationOption()
779     {
780         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" );
781         assert _d != null : "'SpecificationOption' dependency not found.";
782         return _d;
783     }
784     /**
785      * Gets the {@code <StylesheetOption>} dependency.
786      * <p>
787      *   This method returns the {@code <JOMC CLI Stylesheet Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
788      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
789      * </p>
790      * <dl>
791      *   <dt><b>Final:</b></dt><dd>No</dd>
792      * </dl>
793      * @return The {@code <StylesheetOption>} dependency.
794      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
795      */
796     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
797     private org.apache.commons.cli.Option getStylesheetOption()
798     {
799         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "StylesheetOption" );
800         assert _d != null : "'StylesheetOption' dependency not found.";
801         return _d;
802     }
803     /**
804      * Gets the {@code <TemplateEncodingOption>} dependency.
805      * <p>
806      *   This method returns the {@code <JOMC CLI Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
807      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
808      * </p>
809      * <dl>
810      *   <dt><b>Final:</b></dt><dd>No</dd>
811      * </dl>
812      * @return The {@code <TemplateEncodingOption>} dependency.
813      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
814      */
815     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
816     private org.apache.commons.cli.Option getTemplateEncodingOption()
817     {
818         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
819         assert _d != null : "'TemplateEncodingOption' dependency not found.";
820         return _d;
821     }
822     /**
823      * Gets the {@code <TemplateLocationOption>} dependency.
824      * <p>
825      *   This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
826      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
827      * </p>
828      * <dl>
829      *   <dt><b>Final:</b></dt><dd>No</dd>
830      * </dl>
831      * @return The {@code <TemplateLocationOption>} dependency.
832      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
833      */
834     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
835     private org.apache.commons.cli.Option getTemplateLocationOption()
836     {
837         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" );
838         assert _d != null : "'TemplateLocationOption' dependency not found.";
839         return _d;
840     }
841     /**
842      * Gets the {@code <TemplateProfileOption>} dependency.
843      * <p>
844      *   This method returns the {@code <JOMC CLI Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
845      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
846      * </p>
847      * <dl>
848      *   <dt><b>Final:</b></dt><dd>No</dd>
849      * </dl>
850      * @return The {@code <TemplateProfileOption>} dependency.
851      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
852      */
853     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
854     private org.apache.commons.cli.Option getTemplateProfileOption()
855     {
856         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" );
857         assert _d != null : "'TemplateProfileOption' dependency not found.";
858         return _d;
859     }
860     /**
861      * Gets the {@code <TransformerLocationOption>} dependency.
862      * <p>
863      *   This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
864      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
865      * </p>
866      * <dl>
867      *   <dt><b>Final:</b></dt><dd>No</dd>
868      * </dl>
869      * @return The {@code <TransformerLocationOption>} dependency.
870      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
871      */
872     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
873     private org.apache.commons.cli.Option getTransformerLocationOption()
874     {
875         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
876         assert _d != null : "'TransformerLocationOption' dependency not found.";
877         return _d;
878     }
879     // </editor-fold>
880     // SECTION-END
881     // SECTION-START[Properties]
882     // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
883     /**
884      * Gets the value of the {@code <abbreviatedCommandName>} property.
885      * <p><dl>
886      *   <dt><b>Final:</b></dt><dd>No</dd>
887      * </dl></p>
888      * @return Abbreviated name of the command.
889      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
890      */
891     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
892     private java.lang.String getAbbreviatedCommandName()
893     {
894         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
895         assert _p != null : "'abbreviatedCommandName' property not found.";
896         return _p;
897     }
898     /**
899      * Gets the value of the {@code <applicationModlet>} property.
900      * <p><dl>
901      *   <dt><b>Final:</b></dt><dd>Yes</dd>
902      * </dl></p>
903      * @return Name of the 'shaded' application modlet.
904      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
905      */
906     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
907     private java.lang.String getApplicationModlet()
908     {
909         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
910         assert _p != null : "'applicationModlet' property not found.";
911         return _p;
912     }
913     /**
914      * Gets the value of the {@code <commandName>} property.
915      * <p><dl>
916      *   <dt><b>Final:</b></dt><dd>No</dd>
917      * </dl></p>
918      * @return Name of the command.
919      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
920      */
921     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
922     private java.lang.String getCommandName()
923     {
924         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
925         assert _p != null : "'commandName' property not found.";
926         return _p;
927     }
928     /**
929      * Gets the value of the {@code <modletExcludes>} property.
930      * <p><dl>
931      *   <dt><b>Final:</b></dt><dd>Yes</dd>
932      * </dl></p>
933      * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
934      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
935      */
936     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
937     private java.lang.String getModletExcludes()
938     {
939         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
940         assert _p != null : "'modletExcludes' property not found.";
941         return _p;
942     }
943     /**
944      * Gets the value of the {@code <providerExcludes>} property.
945      * <p><dl>
946      *   <dt><b>Final:</b></dt><dd>Yes</dd>
947      * </dl></p>
948      * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}.
949      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
950      */
951     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
952     private java.lang.String getProviderExcludes()
953     {
954         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
955         assert _p != null : "'providerExcludes' property not found.";
956         return _p;
957     }
958     /**
959      * Gets the value of the {@code <schemaExcludes>} property.
960      * <p><dl>
961      *   <dt><b>Final:</b></dt><dd>Yes</dd>
962      * </dl></p>
963      * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
964      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
965      */
966     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
967     private java.lang.String getSchemaExcludes()
968     {
969         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
970         assert _p != null : "'schemaExcludes' property not found.";
971         return _p;
972     }
973     /**
974      * Gets the value of the {@code <serviceExcludes>} property.
975      * <p><dl>
976      *   <dt><b>Final:</b></dt><dd>Yes</dd>
977      * </dl></p>
978      * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
979      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
980      */
981     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
982     private java.lang.String getServiceExcludes()
983     {
984         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
985         assert _p != null : "'serviceExcludes' property not found.";
986         return _p;
987     }
988     // </editor-fold>
989     // SECTION-END
990     // SECTION-START[Messages]
991     // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
992     /**
993      * Gets the text of the {@code <applicationTitle>} message.
994      * <p><dl>
995      *   <dt><b>Languages:</b></dt>
996      *     <dd>English (default)</dd>
997      *   <dt><b>Final:</b></dt><dd>No</dd>
998      * </dl></p>
999      * @param locale The locale of the message to return.
1000      * @return The text of the {@code <applicationTitle>} message for {@code locale}.
1001      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1002      */
1003     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1004     private String getApplicationTitle( final java.util.Locale locale )
1005     {
1006         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
1007         assert _m != null : "'applicationTitle' message not found.";
1008         return _m;
1009     }
1010     /**
1011      * Gets the text of the {@code <cannotProcessMessage>} message.
1012      * <p><dl>
1013      *   <dt><b>Languages:</b></dt>
1014      *     <dd>English (default)</dd>
1015      *     <dd>Deutsch</dd>
1016      *   <dt><b>Final:</b></dt><dd>No</dd>
1017      * </dl></p>
1018      * @param locale The locale of the message to return.
1019      * @param itemInfo Format argument.
1020      * @param detailMessage Format argument.
1021      * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}.
1022      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1023      */
1024     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1025     private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1026     {
1027         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
1028         assert _m != null : "'cannotProcessMessage' message not found.";
1029         return _m;
1030     }
1031     /**
1032      * Gets the text of the {@code <classpathElementInfo>} message.
1033      * <p><dl>
1034      *   <dt><b>Languages:</b></dt>
1035      *     <dd>English (default)</dd>
1036      *     <dd>Deutsch</dd>
1037      *   <dt><b>Final:</b></dt><dd>No</dd>
1038      * </dl></p>
1039      * @param locale The locale of the message to return.
1040      * @param classpathElement Format argument.
1041      * @return The text of the {@code <classpathElementInfo>} message for {@code locale}.
1042      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1043      */
1044     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1045     private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
1046     {
1047         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
1048         assert _m != null : "'classpathElementInfo' message not found.";
1049         return _m;
1050     }
1051     /**
1052      * Gets the text of the {@code <classpathElementNotFoundWarning>} message.
1053      * <p><dl>
1054      *   <dt><b>Languages:</b></dt>
1055      *     <dd>English (default)</dd>
1056      *     <dd>Deutsch</dd>
1057      *   <dt><b>Final:</b></dt><dd>No</dd>
1058      * </dl></p>
1059      * @param locale The locale of the message to return.
1060      * @param fileName Format argument.
1061      * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}.
1062      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1063      */
1064     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1065     private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1066     {
1067         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1068         assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1069         return _m;
1070     }
1071     /**
1072      * Gets the text of the {@code <commandFailureMessage>} message.
1073      * <p><dl>
1074      *   <dt><b>Languages:</b></dt>
1075      *     <dd>English (default)</dd>
1076      *     <dd>Deutsch</dd>
1077      *   <dt><b>Final:</b></dt><dd>No</dd>
1078      * </dl></p>
1079      * @param locale The locale of the message to return.
1080      * @param toolName Format argument.
1081      * @return The text of the {@code <commandFailureMessage>} message for {@code locale}.
1082      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1083      */
1084     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1085     private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1086     {
1087         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1088         assert _m != null : "'commandFailureMessage' message not found.";
1089         return _m;
1090     }
1091     /**
1092      * Gets the text of the {@code <commandInfoMessage>} message.
1093      * <p><dl>
1094      *   <dt><b>Languages:</b></dt>
1095      *     <dd>English (default)</dd>
1096      *     <dd>Deutsch</dd>
1097      *   <dt><b>Final:</b></dt><dd>No</dd>
1098      * </dl></p>
1099      * @param locale The locale of the message to return.
1100      * @param toolName Format argument.
1101      * @return The text of the {@code <commandInfoMessage>} message for {@code locale}.
1102      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1103      */
1104     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1105     private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1106     {
1107         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1108         assert _m != null : "'commandInfoMessage' message not found.";
1109         return _m;
1110     }
1111     /**
1112      * Gets the text of the {@code <commandSuccessMessage>} message.
1113      * <p><dl>
1114      *   <dt><b>Languages:</b></dt>
1115      *     <dd>English (default)</dd>
1116      *     <dd>Deutsch</dd>
1117      *   <dt><b>Final:</b></dt><dd>No</dd>
1118      * </dl></p>
1119      * @param locale The locale of the message to return.
1120      * @param toolName Format argument.
1121      * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}.
1122      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1123      */
1124     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1125     private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1126     {
1127         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1128         assert _m != null : "'commandSuccessMessage' message not found.";
1129         return _m;
1130     }
1131     /**
1132      * Gets the text of the {@code <defaultLogLevelInfo>} message.
1133      * <p><dl>
1134      *   <dt><b>Languages:</b></dt>
1135      *     <dd>English (default)</dd>
1136      *     <dd>Deutsch</dd>
1137      *   <dt><b>Final:</b></dt><dd>No</dd>
1138      * </dl></p>
1139      * @param locale The locale of the message to return.
1140      * @param defaultLogLevel Format argument.
1141      * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}.
1142      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1143      */
1144     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1145     private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1146     {
1147         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1148         assert _m != null : "'defaultLogLevelInfo' message not found.";
1149         return _m;
1150     }
1151     /**
1152      * Gets the text of the {@code <disabledMessage>} message.
1153      * <p><dl>
1154      *   <dt><b>Languages:</b></dt>
1155      *     <dd>English (default)</dd>
1156      *     <dd>Deutsch</dd>
1157      *   <dt><b>Final:</b></dt><dd>No</dd>
1158      * </dl></p>
1159      * @param locale The locale of the message to return.
1160      * @return The text of the {@code <disabledMessage>} message for {@code locale}.
1161      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1162      */
1163     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1164     private String getDisabledMessage( final java.util.Locale locale )
1165     {
1166         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale );
1167         assert _m != null : "'disabledMessage' message not found.";
1168         return _m;
1169     }
1170     /**
1171      * Gets the text of the {@code <documentFileInfo>} message.
1172      * <p><dl>
1173      *   <dt><b>Languages:</b></dt>
1174      *     <dd>English (default)</dd>
1175      *     <dd>Deutsch</dd>
1176      *   <dt><b>Final:</b></dt><dd>No</dd>
1177      * </dl></p>
1178      * @param locale The locale of the message to return.
1179      * @param documentFile Format argument.
1180      * @return The text of the {@code <documentFileInfo>} message for {@code locale}.
1181      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1182      */
1183     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1184     private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1185     {
1186         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1187         assert _m != null : "'documentFileInfo' message not found.";
1188         return _m;
1189     }
1190     /**
1191      * Gets the text of the {@code <documentFileNotFoundWarning>} message.
1192      * <p><dl>
1193      *   <dt><b>Languages:</b></dt>
1194      *     <dd>English (default)</dd>
1195      *     <dd>Deutsch</dd>
1196      *   <dt><b>Final:</b></dt><dd>No</dd>
1197      * </dl></p>
1198      * @param locale The locale of the message to return.
1199      * @param fileName Format argument.
1200      * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}.
1201      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1202      */
1203     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1204     private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1205     {
1206         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1207         assert _m != null : "'documentFileNotFoundWarning' message not found.";
1208         return _m;
1209     }
1210     /**
1211      * Gets the text of the {@code <excludedModletInfo>} message.
1212      * <p><dl>
1213      *   <dt><b>Languages:</b></dt>
1214      *     <dd>English (default)</dd>
1215      *     <dd>Deutsch</dd>
1216      *   <dt><b>Final:</b></dt><dd>No</dd>
1217      * </dl></p>
1218      * @param locale The locale of the message to return.
1219      * @param resourceName Format argument.
1220      * @param modletIdentifier Format argument.
1221      * @return The text of the {@code <excludedModletInfo>} message for {@code locale}.
1222      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1223      */
1224     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1225     private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1226     {
1227         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1228         assert _m != null : "'excludedModletInfo' message not found.";
1229         return _m;
1230     }
1231     /**
1232      * Gets the text of the {@code <excludedProviderInfo>} message.
1233      * <p><dl>
1234      *   <dt><b>Languages:</b></dt>
1235      *     <dd>English (default)</dd>
1236      *     <dd>Deutsch</dd>
1237      *   <dt><b>Final:</b></dt><dd>No</dd>
1238      * </dl></p>
1239      * @param locale The locale of the message to return.
1240      * @param resourceName Format argument.
1241      * @param providerName Format argument.
1242      * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}.
1243      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1244      */
1245     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1246     private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1247     {
1248         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1249         assert _m != null : "'excludedProviderInfo' message not found.";
1250         return _m;
1251     }
1252     /**
1253      * Gets the text of the {@code <excludedSchemaInfo>} message.
1254      * <p><dl>
1255      *   <dt><b>Languages:</b></dt>
1256      *     <dd>English (default)</dd>
1257      *     <dd>Deutsch</dd>
1258      *   <dt><b>Final:</b></dt><dd>No</dd>
1259      * </dl></p>
1260      * @param locale The locale of the message to return.
1261      * @param resourceName Format argument.
1262      * @param contextId Format argument.
1263      * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}.
1264      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1265      */
1266     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1267     private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1268     {
1269         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1270         assert _m != null : "'excludedSchemaInfo' message not found.";
1271         return _m;
1272     }
1273     /**
1274      * Gets the text of the {@code <excludedServiceInfo>} message.
1275      * <p><dl>
1276      *   <dt><b>Languages:</b></dt>
1277      *     <dd>English (default)</dd>
1278      *     <dd>Deutsch</dd>
1279      *   <dt><b>Final:</b></dt><dd>No</dd>
1280      * </dl></p>
1281      * @param locale The locale of the message to return.
1282      * @param resourceName Format argument.
1283      * @param serviceName Format argument.
1284      * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}.
1285      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1286      */
1287     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1288     private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1289     {
1290         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1291         assert _m != null : "'excludedServiceInfo' message not found.";
1292         return _m;
1293     }
1294     /**
1295      * Gets the text of the {@code <failedCreatingObjectMessage>} message.
1296      * <p><dl>
1297      *   <dt><b>Languages:</b></dt>
1298      *     <dd>English (default)</dd>
1299      *     <dd>Deutsch</dd>
1300      *   <dt><b>Final:</b></dt><dd>No</dd>
1301      * </dl></p>
1302      * @param locale The locale of the message to return.
1303      * @param objectInfo Format argument.
1304      * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}.
1305      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1306      */
1307     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1308     private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1309     {
1310         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo );
1311         assert _m != null : "'failedCreatingObjectMessage' message not found.";
1312         return _m;
1313     }
1314     /**
1315      * Gets the text of the {@code <implementationNotFoundWarning>} message.
1316      * <p><dl>
1317      *   <dt><b>Languages:</b></dt>
1318      *     <dd>English (default)</dd>
1319      *     <dd>Deutsch</dd>
1320      *   <dt><b>Final:</b></dt><dd>Yes</dd>
1321      * </dl></p>
1322      * @param locale The locale of the message to return.
1323      * @param implementationIdentifier Format argument.
1324      * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}.
1325      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1326      */
1327     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1328     private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1329     {
1330         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier );
1331         assert _m != null : "'implementationNotFoundWarning' message not found.";
1332         return _m;
1333     }
1334     /**
1335      * Gets the text of the {@code <invalidModelMessage>} message.
1336      * <p><dl>
1337      *   <dt><b>Languages:</b></dt>
1338      *     <dd>English (default)</dd>
1339      *     <dd>Deutsch</dd>
1340      *   <dt><b>Final:</b></dt><dd>No</dd>
1341      * </dl></p>
1342      * @param locale The locale of the message to return.
1343      * @param modelIdentifier Format argument.
1344      * @return The text of the {@code <invalidModelMessage>} message for {@code locale}.
1345      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1346      */
1347     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1348     private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1349     {
1350         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1351         assert _m != null : "'invalidModelMessage' message not found.";
1352         return _m;
1353     }
1354     /**
1355      * Gets the text of the {@code <longDescriptionMessage>} message.
1356      * <p><dl>
1357      *   <dt><b>Languages:</b></dt>
1358      *     <dd>English (default)</dd>
1359      *     <dd>Deutsch</dd>
1360      *   <dt><b>Final:</b></dt><dd>No</dd>
1361      * </dl></p>
1362      * @param locale The locale of the message to return.
1363      * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}.
1364      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1365      */
1366     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1367     private String getLongDescriptionMessage( final java.util.Locale locale )
1368     {
1369         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1370         assert _m != null : "'longDescriptionMessage' message not found.";
1371         return _m;
1372     }
1373     /**
1374      * Gets the text of the {@code <moduleNotFoundWarning>} message.
1375      * <p><dl>
1376      *   <dt><b>Languages:</b></dt>
1377      *     <dd>English (default)</dd>
1378      *     <dd>Deutsch</dd>
1379      *   <dt><b>Final:</b></dt><dd>Yes</dd>
1380      * </dl></p>
1381      * @param locale The locale of the message to return.
1382      * @param moduleName Format argument.
1383      * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}.
1384      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1385      */
1386     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1387     private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1388     {
1389         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName );
1390         assert _m != null : "'moduleNotFoundWarning' message not found.";
1391         return _m;
1392     }
1393     /**
1394      * Gets the text of the {@code <readingMessage>} message.
1395      * <p><dl>
1396      *   <dt><b>Languages:</b></dt>
1397      *     <dd>English (default)</dd>
1398      *     <dd>Deutsch</dd>
1399      *   <dt><b>Final:</b></dt><dd>No</dd>
1400      * </dl></p>
1401      * @param locale The locale of the message to return.
1402      * @param locationInfo Format argument.
1403      * @return The text of the {@code <readingMessage>} message for {@code locale}.
1404      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1405      */
1406     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1407     private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1408     {
1409         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1410         assert _m != null : "'readingMessage' message not found.";
1411         return _m;
1412     }
1413     /**
1414      * Gets the text of the {@code <separator>} message.
1415      * <p><dl>
1416      *   <dt><b>Languages:</b></dt>
1417      *     <dd>English (default)</dd>
1418      *   <dt><b>Final:</b></dt><dd>No</dd>
1419      * </dl></p>
1420      * @param locale The locale of the message to return.
1421      * @return The text of the {@code <separator>} message for {@code locale}.
1422      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1423      */
1424     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1425     private String getSeparator( final java.util.Locale locale )
1426     {
1427         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1428         assert _m != null : "'separator' message not found.";
1429         return _m;
1430     }
1431     /**
1432      * Gets the text of the {@code <shortDescriptionMessage>} message.
1433      * <p><dl>
1434      *   <dt><b>Languages:</b></dt>
1435      *     <dd>English (default)</dd>
1436      *     <dd>Deutsch</dd>
1437      *   <dt><b>Final:</b></dt><dd>No</dd>
1438      * </dl></p>
1439      * @param locale The locale of the message to return.
1440      * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}.
1441      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1442      */
1443     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1444     private String getShortDescriptionMessage( final java.util.Locale locale )
1445     {
1446         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1447         assert _m != null : "'shortDescriptionMessage' message not found.";
1448         return _m;
1449     }
1450     /**
1451      * Gets the text of the {@code <specificationNotFoundWarning>} message.
1452      * <p><dl>
1453      *   <dt><b>Languages:</b></dt>
1454      *     <dd>English (default)</dd>
1455      *     <dd>Deutsch</dd>
1456      *   <dt><b>Final:</b></dt><dd>Yes</dd>
1457      * </dl></p>
1458      * @param locale The locale of the message to return.
1459      * @param specificationIdentifier Format argument.
1460      * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}.
1461      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1462      */
1463     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1464     private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1465     {
1466         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier );
1467         assert _m != null : "'specificationNotFoundWarning' message not found.";
1468         return _m;
1469     }
1470     // </editor-fold>
1471     // SECTION-END
1472     // SECTION-START[Generated Command]
1473     // <editor-fold defaultstate="collapsed" desc=" Generated Options ">
1474     /**
1475      * Gets the options of the command.
1476      * <p><strong>Options:</strong>
1477      *   <table border="1" width="100%" cellpadding="3" cellspacing="0">
1478      *     <tr class="TableSubHeadingColor">
1479      *       <th align="left" scope="col" nowrap><b>Specification</b></th>
1480      *       <th align="left" scope="col" nowrap><b>Implementation</b></th>
1481      *     </tr>
1482      *     <tr class="TableRow">
1483      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1484      *       <td align="left" valign="top" nowrap>JOMC CLI ClassFileProcessor Class Name Option</td>
1485      *     </tr>
1486      *     <tr class="TableRow">
1487      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1488      *       <td align="left" valign="top" nowrap>JOMC CLI Classes Directory Option</td>
1489      *     </tr>
1490      *     <tr class="TableRow">
1491      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1492      *       <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td>
1493      *     </tr>
1494      *     <tr class="TableRow">
1495      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1496      *       <td align="left" valign="top" nowrap>JOMC CLI Country Option</td>
1497      *     </tr>
1498      *     <tr class="TableRow">
1499      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1500      *       <td align="left" valign="top" nowrap>JOMC CLI Default Template Profile Option</td>
1501      *     </tr>
1502      *     <tr class="TableRow">
1503      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1504      *       <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td>
1505      *     </tr>
1506      *     <tr class="TableRow">
1507      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1508      *       <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td>
1509      *     </tr>
1510      *     <tr class="TableRow">
1511      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1512      *       <td align="left" valign="top" nowrap>JOMC CLI Indentation String Option</td>
1513      *     </tr>
1514      *     <tr class="TableRow">
1515      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1516      *       <td align="left" valign="top" nowrap>JOMC CLI Input Encoding Option</td>
1517      *     </tr>
1518      *     <tr class="TableRow">
1519      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1520      *       <td align="left" valign="top" nowrap>JOMC CLI Language Option</td>
1521      *     </tr>
1522      *     <tr class="TableRow">
1523      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1524      *       <td align="left" valign="top" nowrap>JOMC CLI Line Separator Option</td>
1525      *     </tr>
1526      *     <tr class="TableRow">
1527      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1528      *       <td align="left" valign="top" nowrap>JOMC CLI Locale Variant Option</td>
1529      *     </tr>
1530      *     <tr class="TableRow">
1531      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1532      *       <td align="left" valign="top" nowrap>JOMC CLI ModelContextFactory Class Name Option</td>
1533      *     </tr>
1534      *     <tr class="TableRow">
1535      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1536      *       <td align="left" valign="top" nowrap>JOMC CLI Model Option</td>
1537      *     </tr>
1538      *     <tr class="TableRow">
1539      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1540      *       <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td>
1541      *     </tr>
1542      *     <tr class="TableRow">
1543      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1544      *       <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td>
1545      *     </tr>
1546      *     <tr class="TableRow">
1547      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1548      *       <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td>
1549      *     </tr>
1550      *     <tr class="TableRow">
1551      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1552      *       <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td>
1553      *     </tr>
1554      *     <tr class="TableRow">
1555      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1556      *       <td align="left" valign="top" nowrap>JOMC CLI No Class File Processing Option</td>
1557      *     </tr>
1558      *     <tr class="TableRow">
1559      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1560      *       <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td>
1561      *     </tr>
1562      *     <tr class="TableRow">
1563      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1564      *       <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td>
1565      *     </tr>
1566      *     <tr class="TableRow">
1567      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1568      *       <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td>
1569      *     </tr>
1570      *     <tr class="TableRow">
1571      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1572      *       <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td>
1573      *     </tr>
1574      *     <tr class="TableRow">
1575      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1576      *       <td align="left" valign="top" nowrap>JOMC CLI Output Encoding Option</td>
1577      *     </tr>
1578      *     <tr class="TableRow">
1579      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1580      *       <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td>
1581      *     </tr>
1582      *     <tr class="TableRow">
1583      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1584      *       <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td>
1585      *     </tr>
1586      *     <tr class="TableRow">
1587      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1588      *       <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td>
1589      *     </tr>
1590      *     <tr class="TableRow">
1591      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1592      *       <td align="left" valign="top" nowrap>JOMC CLI Stylesheet Option</td>
1593      *     </tr>
1594      *     <tr class="TableRow">
1595      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1596      *       <td align="left" valign="top" nowrap>JOMC CLI Template Encoding Option</td>
1597      *     </tr>
1598      *     <tr class="TableRow">
1599      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1600      *       <td align="left" valign="top" nowrap>JOMC CLI Template Location Option</td>
1601      *     </tr>
1602      *     <tr class="TableRow">
1603      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1604      *       <td align="left" valign="top" nowrap>JOMC CLI Template Profile Option</td>
1605      *     </tr>
1606      *     <tr class="TableRow">
1607      *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1608      *       <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td>
1609      *     </tr>
1610      *   </table>
1611      * </p>
1612      * @return The options of the command.
1613      */
1614     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1615     @Override
1616     public org.apache.commons.cli.Options getOptions()
1617     {
1618         final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1619         options.addOption( this.getClassFileProcessorOption() );
1620         options.addOption( this.getClassesDirectoryOption() );
1621         options.addOption( this.getClasspathOption() );
1622         options.addOption( this.getCountryOption() );
1623         options.addOption( this.getDefaultTemplateProfileOption() );
1624         options.addOption( this.getDocumentsOption() );
1625         options.addOption( this.getImplementationOption() );
1626         options.addOption( this.getIndentationStringOption() );
1627         options.addOption( this.getInputEncodingOption() );
1628         options.addOption( this.getLanguageOption() );
1629         options.addOption( this.getLineSeparatorOption() );
1630         options.addOption( this.getLocaleVariantOption() );
1631         options.addOption( this.getModelContextFactoryOption() );
1632         options.addOption( this.getModelOption() );
1633         options.addOption( this.getModletLocationOption() );
1634         options.addOption( this.getModletSchemaSystemIdOption() );
1635         options.addOption( this.getModuleLocationOption() );
1636         options.addOption( this.getModuleNameOption() );
1637         options.addOption( this.getNoClassProcessingOption() );
1638         options.addOption( this.getNoClasspathResolutionOption() );
1639         options.addOption( this.getNoModelProcessingOption() );
1640         options.addOption( this.getNoModelResourceValidation() );
1641         options.addOption( this.getNoModletResourceValidation() );
1642         options.addOption( this.getOutputEncodingOption() );
1643         options.addOption( this.getPlatformProviderLocationOption() );
1644         options.addOption( this.getProviderLocationOption() );
1645         options.addOption( this.getSpecificationOption() );
1646         options.addOption( this.getStylesheetOption() );
1647         options.addOption( this.getTemplateEncodingOption() );
1648         options.addOption( this.getTemplateLocationOption() );
1649         options.addOption( this.getTemplateProfileOption() );
1650         options.addOption( this.getTransformerLocationOption() );
1651         return options;
1652     }
1653     // </editor-fold>
1654     // SECTION-END
1655 }