EMMA Coverage Report (generated Wed Feb 03 01:24:19 UTC 2010)
[all classes][org.jomc.cli.commands]

COVERAGE SUMMARY FOR SOURCE FILE [GenerateJavaBundlesCommand.java]

nameclass, %method, %block, %line, %
GenerateJavaBundlesCommand.java100% (1/1)41%  (15/37)38%  (373/990)47%  (69.8/148)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class GenerateJavaBundlesCommand100% (1/1)41%  (15/37)38%  (373/990)47%  (69.8/148)
getAbbreviatedCommandName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getApplicationTitleMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getCannotProcessMessage (Locale, String, String): String 0%   (0/1)0%   (0/30)0%   (0/3)
getClasspathElementMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getClasspathOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getDefaultLogLevelInfoMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getDocumentFileMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getDocumentsOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getInvalidModelMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getLongDescriptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getModulesReportMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getNoClasspathResolutionOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getNoModelProcessingOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getSchemaLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getSeparatorMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getServiceLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getShortDescriptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getStartingModuleProcessingMessage (Locale, String, String): String 0%   (0/1)0%   (0/30)0%   (0/3)
getToolFailureMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getToolSuccessMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getTransformerLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
executeCommand (CommandLine): int 100% (1/1)71%  (141/199)76%  (28/37)
<static initializer> 100% (1/1)75%  (6/8)75%  (0.8/1)
getCommandName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getLanguageOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getLocale (): Locale 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleNameOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getOutputEncodingOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getProfileOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getResourceDirectoryOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getSourceDirectoryOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getTemplateEncodingOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getMissingModuleMessage (Locale, String): String 100% (1/1)81%  (21/26)93%  (2.8/3)
getStartingProcessingMessage (Locale, String): String 100% (1/1)81%  (21/26)93%  (2.8/3)
GenerateJavaBundlesCommand (): void 100% (1/1)100% (3/3)100% (2/2)
getOptions (): Options 100% (1/1)100% (46/46)100% (9/9)

1// SECTION-START[License Header]
2// <editor-fold defaultstate="collapsed" desc=" Generated License ">
3/*
4 *   Copyright (c) 2010 The JOMC Project
5 *   Copyright (c) 2005 Christian Schulte <cs@jomc.org>
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 BY THE JOMC PROJECT AND CONTRIBUTORS "AS IS"
21 *   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 *   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 *   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JOMC PROJECT OR
24 *   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 *   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 *   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 *   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 *   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
30 *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *   $Id: GenerateJavaBundlesCommand.java 1452 2010-02-02 05:35:30Z schulte2005 $
33 *
34 */
35// </editor-fold>
36// SECTION-END
37package org.jomc.cli.commands;
38 
39import java.io.File;
40import java.util.Locale;
41import java.util.logging.Level;
42import javax.xml.bind.JAXBContext;
43import javax.xml.bind.Marshaller;
44import javax.xml.bind.util.JAXBSource;
45import org.apache.commons.cli.CommandLine;
46import org.apache.commons.cli.Options;
47import org.jomc.model.ModelContext;
48import org.jomc.model.ModelValidationReport;
49import org.jomc.model.Module;
50import org.jomc.model.Modules;
51import org.jomc.model.ObjectFactory;
52import org.jomc.tools.JavaBundles;
53 
54// SECTION-START[Documentation]
55// <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
56/**
57 * Command line interface for the {@code JavaBundles} tool.
58 * <p><b>Specifications</b><ul>
59 * <li>{@code org.jomc.cli.Command} {@code 1.0} {@code Multiton}</li>
60 * </ul></p>
61 * <p><b>Properties</b><ul>
62 * <li>"{@link #getAbbreviatedCommandName abbreviatedCommandName}"
63 * <blockquote>Property of type {@code java.lang.String}.
64 * <p>Abbreviated name of the command.</p>
65 * </blockquote></li>
66 * <li>"{@link #getCommandName commandName}"
67 * <blockquote>Property of type {@code java.lang.String}.
68 * <p>Name of the command.</p>
69 * </blockquote></li>
70 * </ul></p>
71 * <p><b>Dependencies</b><ul>
72 * <li>"{@link #getClasspathOption ClasspathOption}"<blockquote>
73 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
74 * <li>"{@link #getDocumentsOption DocumentsOption}"<blockquote>
75 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
76 * <li>"{@link #getLanguageOption LanguageOption}"<blockquote>
77 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
78 * <li>"{@link #getLocale Locale}"<blockquote>
79 * Dependency on {@code java.util.Locale} at specification level 1.1 bound to an instance.</blockquote></li>
80 * <li>"{@link #getModuleLocationOption ModuleLocationOption}"<blockquote>
81 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
82 * <li>"{@link #getModuleNameOption ModuleNameOption}"<blockquote>
83 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
84 * <li>"{@link #getNoClasspathResolutionOption NoClasspathResolutionOption}"<blockquote>
85 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
86 * <li>"{@link #getNoModelProcessingOption NoModelProcessingOption}"<blockquote>
87 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
88 * <li>"{@link #getOutputEncodingOption OutputEncodingOption}"<blockquote>
89 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
90 * <li>"{@link #getProfileOption ProfileOption}"<blockquote>
91 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
92 * <li>"{@link #getResourceDirectoryOption ResourceDirectoryOption}"<blockquote>
93 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
94 * <li>"{@link #getSchemaLocationOption SchemaLocationOption}"<blockquote>
95 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
96 * <li>"{@link #getServiceLocationOption ServiceLocationOption}"<blockquote>
97 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
98 * <li>"{@link #getSourceDirectoryOption SourceDirectoryOption}"<blockquote>
99 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
100 * <li>"{@link #getTemplateEncodingOption TemplateEncodingOption}"<blockquote>
101 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
102 * <li>"{@link #getTransformerLocationOption TransformerLocationOption}"<blockquote>
103 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
104 * </ul></p>
105 * <p><b>Messages</b><ul>
106 * <li>"{@link #getApplicationTitleMessage applicationTitle}"<table>
107 * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-16 Build 2010-02-02T05:28:08+0000</pre></td></tr>
108 * </table>
109 * <li>"{@link #getCannotProcessMessage cannotProcess}"<table>
110 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
111 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
112 * </table>
113 * <li>"{@link #getClasspathElementMessage classpathElement}"<table>
114 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
115 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
116 * </table>
117 * <li>"{@link #getDefaultLogLevelInfoMessage defaultLogLevelInfo}"<table>
118 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
119 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
120 * </table>
121 * <li>"{@link #getDocumentFileMessage documentFile}"<table>
122 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
123 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
124 * </table>
125 * <li>"{@link #getInvalidModelMessage invalidModel}"<table>
126 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
127 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
128 * </table>
129 * <li>"{@link #getLongDescriptionMessage longDescription}"<table>
130 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
131 *   jomc generate-java-bundles -cp &lt;classpath&gt; \
132 *                              -sd /tmp/src \
133 *                              -rd /tmp/rsrc \
134 *                              -df examples/xml/jomc-cli.xml \
135 *                              -mn &quot;JOMC CLI&quot; \
136 *                              -v</pre></td></tr>
137 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
138 *   jomc generate-java-bundles -cp &lt;classpath&gt; \
139 *                              -sd /tmp/src \
140 *                              -rd /tmp/rsrc \
141 *                              -df examples/xml/jomc-cli.xml \
142 *                              -mn &quot;JOMC CLI&quot; \
143 *                              -v</pre></td></tr>
144 * </table>
145 * <li>"{@link #getMissingModuleMessage missingModule}"<table>
146 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
147 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
148 * </table>
149 * <li>"{@link #getModulesReportMessage modulesReport}"<table>
150 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
151 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
152 * </table>
153 * <li>"{@link #getSeparatorMessage separator}"<table>
154 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
155 * </table>
156 * <li>"{@link #getShortDescriptionMessage shortDescription}"<table>
157 * <tr><td valign="top">English:</td><td valign="top"><pre>Generates Java resource bundles.</pre></td></tr>
158 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Generiert Java Ressource-B&uuml;ndel.</pre></td></tr>
159 * </table>
160 * <li>"{@link #getStartingModuleProcessingMessage startingModuleProcessing}"<table>
161 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
162 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
163 * </table>
164 * <li>"{@link #getStartingProcessingMessage startingProcessing}"<table>
165 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
166 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
167 * </table>
168 * <li>"{@link #getToolFailureMessage toolFailure}"<table>
169 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
170 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
171 * </table>
172 * <li>"{@link #getToolSuccessMessage toolSuccess}"<table>
173 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
174 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
175 * </table>
176 * </ul></p>
177 *
178 * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
179 * @version $Id: GenerateJavaBundlesCommand.java 1452 2010-02-02 05:35:30Z schulte2005 $
180 */
181// </editor-fold>
182// SECTION-END
183// SECTION-START[Annotations]
184// <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
185@javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
186                             comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
187// </editor-fold>
188// SECTION-END
189public final class GenerateJavaBundlesCommand extends AbstractJomcCommand
190{
191    // SECTION-START[Command]
192 
193    private Options options;
194 
195    @Override
196    public Options getOptions()
197    {
198        if ( this.options == null )
199        {
200            this.options = super.getOptions();
201            this.options.addOption( this.getSourceDirectoryOption() );
202            this.options.addOption( this.getResourceDirectoryOption() );
203            this.options.addOption( this.getLanguageOption() );
204            this.options.addOption( this.getProfileOption() );
205            this.options.addOption( this.getTemplateEncodingOption() );
206            this.options.addOption( this.getOutputEncodingOption() );
207        }
208 
209        return this.options;
210    }
211 
212    public int executeCommand( final CommandLine commandLine ) throws Exception
213    {
214        final ClassLoader classLoader = this.getClassLoader( commandLine );
215        final ModelContext context = this.getModelContext( classLoader );
216        final Modules modules = this.getModules( context, commandLine );
217        final JAXBContext jaxbContext = context.createContext();
218        final Marshaller marshaller = context.createMarshaller();
219        final ModelValidationReport validationReport =
220            context.validateModel( new JAXBSource( jaxbContext, new ObjectFactory().createModules( modules ) ) );
221 
222        this.log( validationReport, marshaller );
223 
224        if ( validationReport.isModelValid() )
225        {
226            final JavaBundles tool = this.getJavaBundles();
227            tool.setModules( modules );
228 
229            if ( commandLine.hasOption( this.getLanguageOption().getOpt() ) )
230            {
231                tool.setDefaultLocale( new Locale( commandLine.getOptionValue( this.getLanguageOption().getOpt() ) ) );
232            }
233            if ( commandLine.hasOption( this.getProfileOption().getOpt() ) )
234            {
235                tool.setProfile( commandLine.getOptionValue( this.getProfileOption().getOpt() ) );
236            }
237            if ( commandLine.hasOption( this.getTemplateEncodingOption().getOpt() ) )
238            {
239                tool.setTemplateEncoding( commandLine.getOptionValue( this.getTemplateEncodingOption().getOpt() ) );
240            }
241            if ( commandLine.hasOption( this.getOutputEncodingOption().getOpt() ) )
242            {
243                tool.setOutputEncoding( commandLine.getOptionValue( this.getOutputEncodingOption().getOpt() ) );
244            }
245 
246            final File sourcesDirectory =
247                new File( commandLine.getOptionValue( this.getSourceDirectoryOption().getOpt() ) );
248 
249            final File resourcesDirectory =
250                new File( commandLine.getOptionValue( this.getResourceDirectoryOption().getOpt() ) );
251 
252            if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
253            {
254                final String moduleName = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
255                final Module module = tool.getModules().getModule( moduleName );
256 
257                if ( module != null )
258                {
259                    if ( this.isLoggable( Level.INFO ) )
260                    {
261                        this.log( Level.INFO, this.getStartingModuleProcessingMessage(
262                            this.getLocale(), this.getCommandName(), module.getName() ), null );
263 
264                    }
265 
266                    tool.writeBundleSources( module, sourcesDirectory );
267                    tool.writeBundleResources( module, resourcesDirectory );
268                }
269                else if ( this.isLoggable( Level.WARNING ) )
270                {
271                    this.log( Level.WARNING, this.getMissingModuleMessage( this.getLocale(), moduleName ), null );
272                }
273            }
274            else
275            {
276                if ( this.isLoggable( Level.INFO ) )
277                {
278                    this.log( Level.INFO, this.getStartingProcessingMessage(
279                        this.getLocale(), this.getCommandName() ), null );
280 
281                }
282 
283                tool.writeBundleSources( sourcesDirectory );
284                tool.writeBundleResources( resourcesDirectory );
285            }
286 
287            return STATUS_SUCCESS;
288        }
289 
290        return STATUS_FAILURE;
291    }
292 
293    // SECTION-END
294    // SECTION-START[GenerateJavaBundlesCommand]
295    // SECTION-END
296    // SECTION-START[Constructors]
297    // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
298 
299    /** Creates a new {@code GenerateJavaBundlesCommand} instance. */
300    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
301                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
302    public GenerateJavaBundlesCommand()
303    {
304        // SECTION-START[Default Constructor]
305        super();
306        // SECTION-END
307    }
308    // </editor-fold>
309    // SECTION-END
310    // SECTION-START[Dependencies]
311    // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
312 
313    /**
314     * Gets the {@code ClasspathOption} dependency.
315     * <p>This method returns the "{@code JOMC CLI Classpath Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
316     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
317     * @return The {@code ClasspathOption} dependency.
318     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
319     */
320    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
321                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
322    private org.apache.commons.cli.Option getClasspathOption()
323    {
324        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
325        assert _d != null : "'ClasspathOption' dependency not found.";
326        return _d;
327    }
328 
329    /**
330     * Gets the {@code DocumentsOption} dependency.
331     * <p>This method returns the "{@code JOMC CLI Documents Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
332     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
333     * @return The {@code DocumentsOption} dependency.
334     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
335     */
336    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
337                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
338    private org.apache.commons.cli.Option getDocumentsOption()
339    {
340        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
341        assert _d != null : "'DocumentsOption' dependency not found.";
342        return _d;
343    }
344 
345    /**
346     * Gets the {@code LanguageOption} dependency.
347     * <p>This method returns the "{@code JOMC CLI Language Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
348     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
349     * @return The {@code LanguageOption} dependency.
350     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
351     */
352    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
353                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
354    private org.apache.commons.cli.Option getLanguageOption()
355    {
356        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
357        assert _d != null : "'LanguageOption' dependency not found.";
358        return _d;
359    }
360 
361    /**
362     * Gets the {@code Locale} dependency.
363     * <p>This method returns the "{@code default}" object of the {@code java.util.Locale} specification at specification level 1.1.</p>
364     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
365     * @return The {@code Locale} dependency.
366     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
367     */
368    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
369                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
370    private java.util.Locale getLocale()
371    {
372        final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
373        assert _d != null : "'Locale' dependency not found.";
374        return _d;
375    }
376 
377    /**
378     * Gets the {@code ModuleLocationOption} dependency.
379     * <p>This method returns the "{@code JOMC CLI Module Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
380     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
381     * @return The {@code ModuleLocationOption} dependency.
382     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
383     */
384    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
385                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
386    private org.apache.commons.cli.Option getModuleLocationOption()
387    {
388        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
389        assert _d != null : "'ModuleLocationOption' dependency not found.";
390        return _d;
391    }
392 
393    /**
394     * Gets the {@code ModuleNameOption} dependency.
395     * <p>This method returns the "{@code JOMC CLI Module Name Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
396     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
397     * @return The {@code ModuleNameOption} dependency.
398     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
399     */
400    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
401                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
402    private org.apache.commons.cli.Option getModuleNameOption()
403    {
404        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
405        assert _d != null : "'ModuleNameOption' dependency not found.";
406        return _d;
407    }
408 
409    /**
410     * Gets the {@code NoClasspathResolutionOption} dependency.
411     * <p>This method returns the "{@code JOMC CLI No Classpath Resolution Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
412     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
413     * @return The {@code NoClasspathResolutionOption} dependency.
414     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
415     */
416    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
417                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
418    private org.apache.commons.cli.Option getNoClasspathResolutionOption()
419    {
420        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
421        assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
422        return _d;
423    }
424 
425    /**
426     * Gets the {@code NoModelProcessingOption} dependency.
427     * <p>This method returns the "{@code JOMC CLI No Model Processing Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
428     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
429     * @return The {@code NoModelProcessingOption} dependency.
430     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
431     */
432    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
433                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
434    private org.apache.commons.cli.Option getNoModelProcessingOption()
435    {
436        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
437        assert _d != null : "'NoModelProcessingOption' dependency not found.";
438        return _d;
439    }
440 
441    /**
442     * Gets the {@code OutputEncodingOption} dependency.
443     * <p>This method returns the "{@code JOMC CLI Output Encoding Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
444     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
445     * @return The {@code OutputEncodingOption} dependency.
446     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
447     */
448    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
449                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
450    private org.apache.commons.cli.Option getOutputEncodingOption()
451    {
452        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
453        assert _d != null : "'OutputEncodingOption' dependency not found.";
454        return _d;
455    }
456 
457    /**
458     * Gets the {@code ProfileOption} dependency.
459     * <p>This method returns the "{@code JOMC CLI Profile Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
460     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
461     * @return The {@code ProfileOption} dependency.
462     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
463     */
464    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
465                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
466    private org.apache.commons.cli.Option getProfileOption()
467    {
468        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProfileOption" );
469        assert _d != null : "'ProfileOption' dependency not found.";
470        return _d;
471    }
472 
473    /**
474     * Gets the {@code ResourceDirectoryOption} dependency.
475     * <p>This method returns the "{@code JOMC CLI Resource Directory Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
476     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
477     * <p><b>Properties</b><dl>
478     * <dt>"{@code required}"</dt>
479     * <dd>Property of type {@code boolean}.
480     * </dd>
481     * </dl>
482     * @return The {@code ResourceDirectoryOption} dependency.
483     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
484     */
485    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
486                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
487    private org.apache.commons.cli.Option getResourceDirectoryOption()
488    {
489        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourceDirectoryOption" );
490        assert _d != null : "'ResourceDirectoryOption' dependency not found.";
491        return _d;
492    }
493 
494    /**
495     * Gets the {@code SchemaLocationOption} dependency.
496     * <p>This method returns the "{@code JOMC CLI Schema Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
497     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
498     * @return The {@code SchemaLocationOption} dependency.
499     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
500     */
501    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
502                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
503    private org.apache.commons.cli.Option getSchemaLocationOption()
504    {
505        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SchemaLocationOption" );
506        assert _d != null : "'SchemaLocationOption' dependency not found.";
507        return _d;
508    }
509 
510    /**
511     * Gets the {@code ServiceLocationOption} dependency.
512     * <p>This method returns the "{@code JOMC CLI Service Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
513     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
514     * @return The {@code ServiceLocationOption} dependency.
515     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
516     */
517    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
518                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
519    private org.apache.commons.cli.Option getServiceLocationOption()
520    {
521        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ServiceLocationOption" );
522        assert _d != null : "'ServiceLocationOption' dependency not found.";
523        return _d;
524    }
525 
526    /**
527     * Gets the {@code SourceDirectoryOption} dependency.
528     * <p>This method returns the "{@code JOMC CLI Source Directory Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
529     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
530     * <p><b>Properties</b><dl>
531     * <dt>"{@code required}"</dt>
532     * <dd>Property of type {@code boolean}.
533     * </dd>
534     * </dl>
535     * @return The {@code SourceDirectoryOption} dependency.
536     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
537     */
538    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
539                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
540    private org.apache.commons.cli.Option getSourceDirectoryOption()
541    {
542        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceDirectoryOption" );
543        assert _d != null : "'SourceDirectoryOption' dependency not found.";
544        return _d;
545    }
546 
547    /**
548     * Gets the {@code TemplateEncodingOption} dependency.
549     * <p>This method returns the "{@code JOMC CLI Template Encoding Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
550     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
551     * @return The {@code TemplateEncodingOption} dependency.
552     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
553     */
554    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
555                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
556    private org.apache.commons.cli.Option getTemplateEncodingOption()
557    {
558        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
559        assert _d != null : "'TemplateEncodingOption' dependency not found.";
560        return _d;
561    }
562 
563    /**
564     * Gets the {@code TransformerLocationOption} dependency.
565     * <p>This method returns the "{@code JOMC CLI Transformer Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
566     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
567     * @return The {@code TransformerLocationOption} dependency.
568     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
569     */
570    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
571                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
572    private org.apache.commons.cli.Option getTransformerLocationOption()
573    {
574        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
575        assert _d != null : "'TransformerLocationOption' dependency not found.";
576        return _d;
577    }
578    // </editor-fold>
579    // SECTION-END
580    // SECTION-START[Properties]
581    // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
582 
583    /**
584     * Gets the value of the {@code abbreviatedCommandName} property.
585     * @return Abbreviated name of the command.
586     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
587     */
588    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
589                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
590    private java.lang.String getAbbreviatedCommandName()
591    {
592        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
593        assert _p != null : "'abbreviatedCommandName' property not found.";
594        return _p;
595    }
596 
597    /**
598     * Gets the value of the {@code commandName} property.
599     * @return Name of the command.
600     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
601     */
602    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
603                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
604    private java.lang.String getCommandName()
605    {
606        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
607        assert _p != null : "'commandName' property not found.";
608        return _p;
609    }
610    // </editor-fold>
611    // SECTION-END
612    // SECTION-START[Messages]
613    // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
614 
615    /**
616     * Gets the text of the {@code applicationTitle} message.
617     * <p><b>Templates</b><br/><table>
618     * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-16 Build 2010-02-02T05:28:08+0000</pre></td></tr>
619     * </table></p>
620     * @param locale The locale of the message to return.
621     * @return The text of the {@code applicationTitle} message.
622     *
623     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
624     */
625    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
626                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
627    private String getApplicationTitleMessage( final java.util.Locale locale )
628    {
629        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
630        assert _m != null : "'applicationTitle' message not found.";
631        return _m;
632    }
633 
634    /**
635     * Gets the text of the {@code cannotProcess} message.
636     * <p><b>Templates</b><br/><table>
637     * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
638     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
639     * </table></p>
640     * @param locale The locale of the message to return.
641     * @param itemInfo Format argument.
642     * @param detailMessage Format argument.
643     * @return The text of the {@code cannotProcess} message.
644     *
645     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
646     */
647    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
648                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
649    private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
650    {
651        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcess", locale, itemInfo, detailMessage );
652        assert _m != null : "'cannotProcess' message not found.";
653        return _m;
654    }
655 
656    /**
657     * Gets the text of the {@code classpathElement} message.
658     * <p><b>Templates</b><br/><table>
659     * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
660     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
661     * </table></p>
662     * @param locale The locale of the message to return.
663     * @param classpathElement Format argument.
664     * @return The text of the {@code classpathElement} message.
665     *
666     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
667     */
668    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
669                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
670    private String getClasspathElementMessage( final java.util.Locale locale, final java.lang.String classpathElement )
671    {
672        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElement", locale, classpathElement );
673        assert _m != null : "'classpathElement' message not found.";
674        return _m;
675    }
676 
677    /**
678     * Gets the text of the {@code defaultLogLevelInfo} message.
679     * <p><b>Templates</b><br/><table>
680     * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
681     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
682     * </table></p>
683     * @param locale The locale of the message to return.
684     * @param defaultLogLevel Format argument.
685     * @return The text of the {@code defaultLogLevelInfo} message.
686     *
687     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
688     */
689    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
690                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
691    private String getDefaultLogLevelInfoMessage( final java.util.Locale locale, final java.lang.String defaultLogLevel )
692    {
693        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
694        assert _m != null : "'defaultLogLevelInfo' message not found.";
695        return _m;
696    }
697 
698    /**
699     * Gets the text of the {@code documentFile} message.
700     * <p><b>Templates</b><br/><table>
701     * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
702     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
703     * </table></p>
704     * @param locale The locale of the message to return.
705     * @param documentFile Format argument.
706     * @return The text of the {@code documentFile} message.
707     *
708     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
709     */
710    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
711                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
712    private String getDocumentFileMessage( final java.util.Locale locale, final java.lang.String documentFile )
713    {
714        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFile", locale, documentFile );
715        assert _m != null : "'documentFile' message not found.";
716        return _m;
717    }
718 
719    /**
720     * Gets the text of the {@code invalidModel} message.
721     * <p><b>Templates</b><br/><table>
722     * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
723     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
724     * </table></p>
725     * @param locale The locale of the message to return.
726     * @return The text of the {@code invalidModel} message.
727     *
728     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
729     */
730    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
731                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
732    private String getInvalidModelMessage( final java.util.Locale locale )
733    {
734        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModel", locale );
735        assert _m != null : "'invalidModel' message not found.";
736        return _m;
737    }
738 
739    /**
740     * Gets the text of the {@code longDescription} message.
741     * <p><b>Templates</b><br/><table>
742     * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
743     *   jomc generate-java-bundles -cp &lt;classpath&gt; \
744     *                              -sd /tmp/src \
745     *                              -rd /tmp/rsrc \
746     *                              -df examples/xml/jomc-cli.xml \
747     *                              -mn &quot;JOMC CLI&quot; \
748     *                              -v</pre></td></tr>
749     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
750     *   jomc generate-java-bundles -cp &lt;classpath&gt; \
751     *                              -sd /tmp/src \
752     *                              -rd /tmp/rsrc \
753     *                              -df examples/xml/jomc-cli.xml \
754     *                              -mn &quot;JOMC CLI&quot; \
755     *                              -v</pre></td></tr>
756     * </table></p>
757     * @param locale The locale of the message to return.
758     * @return The text of the {@code longDescription} message.
759     *
760     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
761     */
762    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
763                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
764    private String getLongDescriptionMessage( final java.util.Locale locale )
765    {
766        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescription", locale );
767        assert _m != null : "'longDescription' message not found.";
768        return _m;
769    }
770 
771    /**
772     * Gets the text of the {@code missingModule} message.
773     * <p><b>Templates</b><br/><table>
774     * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
775     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
776     * </table></p>
777     * @param locale The locale of the message to return.
778     * @param moduleName Format argument.
779     * @return The text of the {@code missingModule} message.
780     *
781     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
782     */
783    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
784                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
785    private String getMissingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
786    {
787        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "missingModule", locale, moduleName );
788        assert _m != null : "'missingModule' message not found.";
789        return _m;
790    }
791 
792    /**
793     * Gets the text of the {@code modulesReport} message.
794     * <p><b>Templates</b><br/><table>
795     * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
796     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
797     * </table></p>
798     * @param locale The locale of the message to return.
799     * @return The text of the {@code modulesReport} message.
800     *
801     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
802     */
803    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
804                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
805    private String getModulesReportMessage( final java.util.Locale locale )
806    {
807        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "modulesReport", locale );
808        assert _m != null : "'modulesReport' message not found.";
809        return _m;
810    }
811 
812    /**
813     * Gets the text of the {@code separator} message.
814     * <p><b>Templates</b><br/><table>
815     * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
816     * </table></p>
817     * @param locale The locale of the message to return.
818     * @return The text of the {@code separator} message.
819     *
820     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
821     */
822    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
823                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
824    private String getSeparatorMessage( final java.util.Locale locale )
825    {
826        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
827        assert _m != null : "'separator' message not found.";
828        return _m;
829    }
830 
831    /**
832     * Gets the text of the {@code shortDescription} message.
833     * <p><b>Templates</b><br/><table>
834     * <tr><td valign="top">English:</td><td valign="top"><pre>Generates Java resource bundles.</pre></td></tr>
835     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Generiert Java Ressource-B&uuml;ndel.</pre></td></tr>
836     * </table></p>
837     * @param locale The locale of the message to return.
838     * @return The text of the {@code shortDescription} message.
839     *
840     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
841     */
842    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
843                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
844    private String getShortDescriptionMessage( final java.util.Locale locale )
845    {
846        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescription", locale );
847        assert _m != null : "'shortDescription' message not found.";
848        return _m;
849    }
850 
851    /**
852     * Gets the text of the {@code startingModuleProcessing} message.
853     * <p><b>Templates</b><br/><table>
854     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
855     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
856     * </table></p>
857     * @param locale The locale of the message to return.
858     * @param toolName Format argument.
859     * @param moduleName Format argument.
860     * @return The text of the {@code startingModuleProcessing} message.
861     *
862     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
863     */
864    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
865                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
866    private String getStartingModuleProcessingMessage( final java.util.Locale locale, final java.lang.String toolName, final java.lang.String moduleName )
867    {
868        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingModuleProcessing", locale, toolName, moduleName );
869        assert _m != null : "'startingModuleProcessing' message not found.";
870        return _m;
871    }
872 
873    /**
874     * Gets the text of the {@code startingProcessing} message.
875     * <p><b>Templates</b><br/><table>
876     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
877     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
878     * </table></p>
879     * @param locale The locale of the message to return.
880     * @param toolName Format argument.
881     * @return The text of the {@code startingProcessing} message.
882     *
883     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
884     */
885    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
886                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
887    private String getStartingProcessingMessage( final java.util.Locale locale, final java.lang.String toolName )
888    {
889        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingProcessing", locale, toolName );
890        assert _m != null : "'startingProcessing' message not found.";
891        return _m;
892    }
893 
894    /**
895     * Gets the text of the {@code toolFailure} message.
896     * <p><b>Templates</b><br/><table>
897     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
898     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
899     * </table></p>
900     * @param locale The locale of the message to return.
901     * @param toolName Format argument.
902     * @return The text of the {@code toolFailure} message.
903     *
904     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
905     */
906    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
907                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
908    private String getToolFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
909    {
910        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolFailure", locale, toolName );
911        assert _m != null : "'toolFailure' message not found.";
912        return _m;
913    }
914 
915    /**
916     * Gets the text of the {@code toolSuccess} message.
917     * <p><b>Templates</b><br/><table>
918     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
919     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
920     * </table></p>
921     * @param locale The locale of the message to return.
922     * @param toolName Format argument.
923     * @return The text of the {@code toolSuccess} message.
924     *
925     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
926     */
927    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
928                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
929    private String getToolSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
930    {
931        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolSuccess", locale, toolName );
932        assert _m != null : "'toolSuccess' message not found.";
933        return _m;
934    }
935    // </editor-fold>
936    // SECTION-END
937}

[all classes][org.jomc.cli.commands]
EMMA 2.0.5312 (C) Vladimir Roubtsov