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