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