EMMA Coverage Report (generated Tue Jan 19 17:53:40 UTC 2010)
[all classes][org.jomc.cli.commands]

COVERAGE SUMMARY FOR SOURCE FILE [MergeModulesCommand.java]

nameclass, %method, %block, %line, %
MergeModulesCommand.java100% (1/1)54%  (40/74)51%  (1006/1957)61%  (176/290)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class MergeModulesCommand100% (1/1)54%  (40/74)51%  (1006/1957)61%  (176/290)
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)
getClasspathOptionArgNameMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getClasspathOptionLongName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getClasspathOptionMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getClasspathOptionShortName (): String 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)
getDocumentsOptionArgNameMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getDocumentsOptionLongName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getDocumentsOptionMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getDocumentsOptionShortName (): String 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)
getMissingModuleMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getModuleLocationOptionArgNameMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleLocationOptionLongName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getModuleLocationOptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleLocationOptionShortName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getModuleNameOptionArgNameMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleNameOptionLongName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getModuleNameOptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleNameOptionShortName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getModulesReportMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getNoClasspathResolutionOptionLongName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getNoClasspathResolutionOptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getNoClasspathResolutionOptionShortName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getSeparatorMessage (Locale): String 0%   (0/1)0%   (0/22)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)
<static initializer> 100% (1/1)75%  (6/8)75%  (0.8/1)
getCommandName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getDocumentOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getDocumentOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getLocale (): Locale 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleExcludesOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleExcludesOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleIncludesOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleIncludesOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleVendorOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleVendorOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleVersionOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleVersionOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getStylesheetOptionLongName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getStylesheetOptionShortName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getDocumentOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getDocumentOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleExcludesOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleExcludesOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleIncludesOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleIncludesOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleVendorOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleVendorOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleVersionOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getModuleVersionOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getStylesheetOptionArgNameMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getStylesheetOptionMessage (Locale): String 100% (1/1)77%  (17/22)92%  (2.8/3)
getExcludingModuleMessage (Locale, String): String 100% (1/1)81%  (21/26)93%  (2.8/3)
getIncludingModuleMessage (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)
getWritingMessage (Locale, String): String 100% (1/1)81%  (21/26)93%  (2.8/3)
executeCommand (CommandLine): int 100% (1/1)91%  (267/292)93%  (52/56)
MergeModulesCommand (): void 100% (1/1)100% (3/3)100% (2/2)
getDocumentOption (): Option 100% (1/1)100% (31/31)100% (5/5)
getModuleExcludesOption (): Option 100% (1/1)100% (35/35)100% (6/6)
getModuleIncludesOption (): Option 100% (1/1)100% (35/35)100% (6/6)
getModuleVendorOption (): Option 100% (1/1)100% (27/27)100% (4/4)
getModuleVersionOption (): Option 100% (1/1)100% (27/27)100% (4/4)
getOptions (): Options 100% (1/1)100% (50/50)100% (10/10)
getStylesheetOption (): Option 100% (1/1)100% (27/27)100% (4/4)

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: MergeModulesCommand.java 1346 2010-01-19 12:16:43Z schulte2005 $
33 *
34 */
35// </editor-fold>
36// SECTION-END
37package org.jomc.cli.commands;
38 
39import java.io.File;
40import java.util.Arrays;
41import java.util.Iterator;
42import java.util.List;
43import java.util.logging.Level;
44import javax.xml.bind.JAXBElement;
45import javax.xml.bind.Marshaller;
46import javax.xml.bind.Unmarshaller;
47import javax.xml.bind.util.JAXBResult;
48import javax.xml.bind.util.JAXBSource;
49import javax.xml.transform.Transformer;
50import javax.xml.transform.TransformerFactory;
51import javax.xml.transform.stream.StreamSource;
52import org.apache.commons.cli.CommandLine;
53import org.apache.commons.cli.Option;
54import org.apache.commons.cli.Options;
55import org.jomc.model.ModelContext;
56import org.jomc.model.ModelValidationReport;
57import org.jomc.model.Module;
58import org.jomc.model.Modules;
59import org.jomc.model.ObjectFactory;
60 
61// SECTION-START[Documentation]
62// <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
63/**
64 * Command line interface for merging modules.
65 * <p><b>Specifications</b><ul>
66 * <li>{@code org.jomc.cli.Command} {@code 1.0} {@code Multiton}</li>
67 * </ul></p>
68 * <p><b>Properties</b><ul>
69 * <li>"{@link #getAbbreviatedCommandName abbreviatedCommandName}"
70 * <blockquote>Property of type {@code java.lang.String}.
71 * <p>Abbreviated name of the command.</p>
72 * </blockquote></li>
73 * <li>"{@link #getClasspathOptionLongName classpathOptionLongName}"
74 * <blockquote>Property of type {@code java.lang.String}.
75 * <p>Long name of the 'classpath' option.</p>
76 * </blockquote></li>
77 * <li>"{@link #getClasspathOptionShortName classpathOptionShortName}"
78 * <blockquote>Property of type {@code java.lang.String}.
79 * <p>Name of the 'classpath' option.</p>
80 * </blockquote></li>
81 * <li>"{@link #getCommandName commandName}"
82 * <blockquote>Property of type {@code java.lang.String}.
83 * <p>Name of the command.</p>
84 * </blockquote></li>
85 * <li>"{@link #getDocumentOptionLongName documentOptionLongName}"
86 * <blockquote>Property of type {@code java.lang.String}.
87 * <p>Long name of the 'document' option.</p>
88 * </blockquote></li>
89 * <li>"{@link #getDocumentOptionShortName documentOptionShortName}"
90 * <blockquote>Property of type {@code java.lang.String}.
91 * <p>Name of the 'document' option.</p>
92 * </blockquote></li>
93 * <li>"{@link #getDocumentsOptionLongName documentsOptionLongName}"
94 * <blockquote>Property of type {@code java.lang.String}.
95 * <p>Long name of the 'documents' option.</p>
96 * </blockquote></li>
97 * <li>"{@link #getDocumentsOptionShortName documentsOptionShortName}"
98 * <blockquote>Property of type {@code java.lang.String}.
99 * <p>Name of the 'documents' option.</p>
100 * </blockquote></li>
101 * <li>"{@link #getModuleExcludesOptionLongName moduleExcludesOptionLongName}"
102 * <blockquote>Property of type {@code java.lang.String}.
103 * <p>Long name of the 'module-excludes' option.</p>
104 * </blockquote></li>
105 * <li>"{@link #getModuleExcludesOptionShortName moduleExcludesOptionShortName}"
106 * <blockquote>Property of type {@code java.lang.String}.
107 * <p>Name of the 'module-excludes' option.</p>
108 * </blockquote></li>
109 * <li>"{@link #getModuleIncludesOptionLongName moduleIncludesOptionLongName}"
110 * <blockquote>Property of type {@code java.lang.String}.
111 * <p>Long name of the 'module-includes' option.</p>
112 * </blockquote></li>
113 * <li>"{@link #getModuleIncludesOptionShortName moduleIncludesOptionShortName}"
114 * <blockquote>Property of type {@code java.lang.String}.
115 * <p>Name of the 'module-includes' option.</p>
116 * </blockquote></li>
117 * <li>"{@link #getModuleLocationOptionLongName moduleLocationOptionLongName}"
118 * <blockquote>Property of type {@code java.lang.String}.
119 * <p>Long name of the 'module-location' option.</p>
120 * </blockquote></li>
121 * <li>"{@link #getModuleLocationOptionShortName moduleLocationOptionShortName}"
122 * <blockquote>Property of type {@code java.lang.String}.
123 * <p>Name of the 'module-location' option.</p>
124 * </blockquote></li>
125 * <li>"{@link #getModuleNameOptionLongName moduleNameOptionLongName}"
126 * <blockquote>Property of type {@code java.lang.String}.
127 * <p>Long name of the 'module' option.</p>
128 * </blockquote></li>
129 * <li>"{@link #getModuleNameOptionShortName moduleNameOptionShortName}"
130 * <blockquote>Property of type {@code java.lang.String}.
131 * <p>Name of the 'module' option.</p>
132 * </blockquote></li>
133 * <li>"{@link #getModuleVendorOptionLongName moduleVendorOptionLongName}"
134 * <blockquote>Property of type {@code java.lang.String}.
135 * <p>Long name of the 'module-vendor' option.</p>
136 * </blockquote></li>
137 * <li>"{@link #getModuleVendorOptionShortName moduleVendorOptionShortName}"
138 * <blockquote>Property of type {@code java.lang.String}.
139 * <p>Name of the 'module-vendor' option.</p>
140 * </blockquote></li>
141 * <li>"{@link #getModuleVersionOptionLongName moduleVersionOptionLongName}"
142 * <blockquote>Property of type {@code java.lang.String}.
143 * <p>Long name of the 'module-version' option.</p>
144 * </blockquote></li>
145 * <li>"{@link #getModuleVersionOptionShortName moduleVersionOptionShortName}"
146 * <blockquote>Property of type {@code java.lang.String}.
147 * <p>Name of the 'module-version' option.</p>
148 * </blockquote></li>
149 * <li>"{@link #getNoClasspathResolutionOptionLongName noClasspathResolutionOptionLongName}"
150 * <blockquote>Property of type {@code java.lang.String}.
151 * <p>Long name of the 'no-classpath-resolution' option.</p>
152 * </blockquote></li>
153 * <li>"{@link #getNoClasspathResolutionOptionShortName noClasspathResolutionOptionShortName}"
154 * <blockquote>Property of type {@code java.lang.String}.
155 * <p>Name of the 'no-classpath-resolution' option.</p>
156 * </blockquote></li>
157 * <li>"{@link #getStylesheetOptionLongName stylesheetOptionLongName}"
158 * <blockquote>Property of type {@code java.lang.String}.
159 * <p>Long name of the 'xslt' option.</p>
160 * </blockquote></li>
161 * <li>"{@link #getStylesheetOptionShortName stylesheetOptionShortName}"
162 * <blockquote>Property of type {@code java.lang.String}.
163 * <p>Name of the 'xslt' option.</p>
164 * </blockquote></li>
165 * </ul></p>
166 * <p><b>Dependencies</b><ul>
167 * <li>"{@link #getLocale Locale}"<blockquote>
168 * Dependency on {@code java.util.Locale} at specification level 1.1 bound to an instance.</blockquote></li>
169 * </ul></p>
170 * <p><b>Messages</b><ul>
171 * <li>"{@link #getApplicationTitleMessage applicationTitle}"<table>
172 * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-15 Build 2010-01-19T12:08:03+0000</pre></td></tr>
173 * </table>
174 * <li>"{@link #getCannotProcessMessage cannotProcess}"<table>
175 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
176 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
177 * </table>
178 * <li>"{@link #getClasspathElementMessage classpathElement}"<table>
179 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
180 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
181 * </table>
182 * <li>"{@link #getClasspathOptionMessage classpathOption}"<table>
183 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath elements separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding classpath elements.</pre></td></tr>
184 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Elemente mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Klassenpfad-Elementen.</pre></td></tr>
185 * </table>
186 * <li>"{@link #getClasspathOptionArgNameMessage classpathOptionArgName}"<table>
187 * <tr><td valign="top">English:</td><td valign="top"><pre>elements</pre></td></tr>
188 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Elemente</pre></td></tr>
189 * </table>
190 * <li>"{@link #getDefaultLogLevelInfoMessage defaultLogLevelInfo}"<table>
191 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
192 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
193 * </table>
194 * <li>"{@link #getDocumentFileMessage documentFile}"<table>
195 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
196 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
197 * </table>
198 * <li>"{@link #getDocumentOptionMessage documentOption}"<table>
199 * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the file to write the merged module to.</pre></td></tr>
200 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name der Datei in die das zusammengef&uuml;gte Modul geschrieben werden soll.</pre></td></tr>
201 * </table>
202 * <li>"{@link #getDocumentOptionArgNameMessage documentOptionArgName}"<table>
203 * <tr><td valign="top">English:</td><td valign="top"><pre>file</pre></td></tr>
204 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Datei</pre></td></tr>
205 * </table>
206 * <li>"{@link #getDocumentsOptionMessage documentsOption}"<table>
207 * <tr><td valign="top">English:</td><td valign="top"><pre>Document filenames separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding document filenames.</pre></td></tr>
208 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Dateinamen mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Dokument-Dateinamen.</pre></td></tr>
209 * </table>
210 * <li>"{@link #getDocumentsOptionArgNameMessage documentsOptionArgName}"<table>
211 * <tr><td valign="top">English:</td><td valign="top"><pre>files</pre></td></tr>
212 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dateien</pre></td></tr>
213 * </table>
214 * <li>"{@link #getExcludingModuleMessage excludingModule}"<table>
215 * <tr><td valign="top">English:</td><td valign="top"><pre>Excluding module ''{0}''.</pre></td></tr>
216 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schlie&szlig;t Modul ''{0}'' aus.</pre></td></tr>
217 * </table>
218 * <li>"{@link #getIncludingModuleMessage includingModule}"<table>
219 * <tr><td valign="top">English:</td><td valign="top"><pre>Including module ''{0}''.</pre></td></tr>
220 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schlie&szlig;t Modul ''{0}'' ein.</pre></td></tr>
221 * </table>
222 * <li>"{@link #getInvalidModelMessage invalidModel}"<table>
223 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
224 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
225 * </table>
226 * <li>"{@link #getLongDescriptionMessage longDescription}"<table>
227 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
228 *   jomc merge-modules -df examples/xml/jomc-cli.xml \
229 *                      -xs examples/xslt/relocate-classes.xsl \
230 *                      -mn &quot;Merged Name&quot; -d /tmp/jomc.xml -v</pre></td></tr>
231 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
232 *   jomc merge-modules -df examples/xml/jomc-cli.xml \
233 *                      -xs examples/xslt/relocate-classes.xsl \
234 *                      -mn &quot;Merged Name&quot; -d /tmp/jomc.xml -v</pre></td></tr>
235 * </table>
236 * <li>"{@link #getMissingModuleMessage missingModule}"<table>
237 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
238 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
239 * </table>
240 * <li>"{@link #getModuleExcludesOptionMessage moduleExcludesOption}"<table>
241 * <tr><td valign="top">English:</td><td valign="top"><pre>Module names separated by '':'' of modules to exclude.</pre></td></tr>
242 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul-Namen auszuschlie&szlig;ender Module mit '':'' getrennt.</pre></td></tr>
243 * </table>
244 * <li>"{@link #getModuleExcludesOptionArgNameMessage moduleExcludesOptionArgName}"<table>
245 * <tr><td valign="top">English:</td><td valign="top"><pre>names</pre></td></tr>
246 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Namen</pre></td></tr>
247 * </table>
248 * <li>"{@link #getModuleIncludesOptionMessage moduleIncludesOption}"<table>
249 * <tr><td valign="top">English:</td><td valign="top"><pre>Module names separated by '':'' of modules to include.</pre></td></tr>
250 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul-Namen einzuschlie&szlig;ender Module mit '':'' getrennt.</pre></td></tr>
251 * </table>
252 * <li>"{@link #getModuleIncludesOptionArgNameMessage moduleIncludesOptionArgName}"<table>
253 * <tr><td valign="top">English:</td><td valign="top"><pre>names</pre></td></tr>
254 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Namen</pre></td></tr>
255 * </table>
256 * <li>"{@link #getModuleLocationOptionMessage moduleLocationOption}"<table>
257 * <tr><td valign="top">English:</td><td valign="top"><pre>Location of classpath modules.</pre></td></tr>
258 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort der Klassenpfad-Module.</pre></td></tr>
259 * </table>
260 * <li>"{@link #getModuleLocationOptionArgNameMessage moduleLocationOptionArgName}"<table>
261 * <tr><td valign="top">English:</td><td valign="top"><pre>location</pre></td></tr>
262 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort</pre></td></tr>
263 * </table>
264 * <li>"{@link #getModuleNameOptionMessage moduleNameOption}"<table>
265 * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the module to process.</pre></td></tr>
266 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name des zu verarbeitenden Moduls.</pre></td></tr>
267 * </table>
268 * <li>"{@link #getModuleNameOptionArgNameMessage moduleNameOptionArgName}"<table>
269 * <tr><td valign="top">English:</td><td valign="top"><pre>name</pre></td></tr>
270 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name</pre></td></tr>
271 * </table>
272 * <li>"{@link #getModuleVendorOptionMessage moduleVendorOption}"<table>
273 * <tr><td valign="top">English:</td><td valign="top"><pre>Vendor of the merged module.</pre></td></tr>
274 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Hersteller des Ergebnis-Moduls.</pre></td></tr>
275 * </table>
276 * <li>"{@link #getModuleVendorOptionArgNameMessage moduleVendorOptionArgName}"<table>
277 * <tr><td valign="top">English:</td><td valign="top"><pre>vendor</pre></td></tr>
278 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Hersteller</pre></td></tr>
279 * </table>
280 * <li>"{@link #getModuleVersionOptionMessage moduleVersionOption}"<table>
281 * <tr><td valign="top">English:</td><td valign="top"><pre>Version of the merged module.</pre></td></tr>
282 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Version des Ergebnis-Moduls.</pre></td></tr>
283 * </table>
284 * <li>"{@link #getModuleVersionOptionArgNameMessage moduleVersionOptionArgName}"<table>
285 * <tr><td valign="top">English:</td><td valign="top"><pre>version</pre></td></tr>
286 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Version</pre></td></tr>
287 * </table>
288 * <li>"{@link #getModulesReportMessage modulesReport}"<table>
289 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
290 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
291 * </table>
292 * <li>"{@link #getNoClasspathResolutionOptionMessage noClasspathResolutionOption}"<table>
293 * <tr><td valign="top">English:</td><td valign="top"><pre>Do not perform classpath resolution.</pre></td></tr>
294 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Keine Klassenpfad-Aufl&ouml;sung durchf&uuml;hren.</pre></td></tr>
295 * </table>
296 * <li>"{@link #getSeparatorMessage separator}"<table>
297 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
298 * </table>
299 * <li>"{@link #getShortDescriptionMessage shortDescription}"<table>
300 * <tr><td valign="top">English:</td><td valign="top"><pre>Merges modules.</pre></td></tr>
301 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;gt Module zusammen.</pre></td></tr>
302 * </table>
303 * <li>"{@link #getStartingModuleProcessingMessage startingModuleProcessing}"<table>
304 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
305 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
306 * </table>
307 * <li>"{@link #getStartingProcessingMessage startingProcessing}"<table>
308 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
309 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
310 * </table>
311 * <li>"{@link #getStylesheetOptionMessage stylesheetOption}"<table>
312 * <tr><td valign="top">English:</td><td valign="top"><pre>Name of a XSLT file to use for transforming the merged module.</pre></td></tr>
313 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name einer XSLT Datei mit der das zusammengef&uuml;gte Modul transformiert werden soll.</pre></td></tr>
314 * </table>
315 * <li>"{@link #getStylesheetOptionArgNameMessage stylesheetOptionArgName}"<table>
316 * <tr><td valign="top">English:</td><td valign="top"><pre>XSLT file</pre></td></tr>
317 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>XSLT-Datei</pre></td></tr>
318 * </table>
319 * <li>"{@link #getToolFailureMessage toolFailure}"<table>
320 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
321 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
322 * </table>
323 * <li>"{@link #getToolSuccessMessage toolSuccess}"<table>
324 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
325 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
326 * </table>
327 * <li>"{@link #getWritingMessage writing}"<table>
328 * <tr><td valign="top">English:</td><td valign="top"><pre>Writing ''{0}''.</pre></td></tr>
329 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schreibt ''{0}''.</pre></td></tr>
330 * </table>
331 * </ul></p>
332 *
333 * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
334 * @version $Id: MergeModulesCommand.java 1346 2010-01-19 12:16:43Z schulte2005 $
335 */
336// </editor-fold>
337// SECTION-END
338// SECTION-START[Annotations]
339// <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
340@javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
341                             comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
342// </editor-fold>
343// SECTION-END
344public final class MergeModulesCommand extends AbstractJomcCommand
345{
346    // SECTION-START[Command]
347 
348    /** Options of the instance. */
349    private Options options;
350 
351    @Override
352    public Options getOptions()
353    {
354        if ( this.options == null )
355        {
356            this.getModuleNameOption().setRequired( true );
357 
358            this.options = super.getOptions();
359            this.options.addOption( this.getDocumentOption() );
360            this.options.addOption( this.getStylesheetOption() );
361            this.options.addOption( this.getModuleVendorOption() );
362            this.options.addOption( this.getModuleVersionOption() );
363            this.options.addOption( this.getModuleIncludesOption() );
364            this.options.addOption( this.getModuleExcludesOption() );
365        }
366 
367        return this.options;
368    }
369 
370    public int executeCommand( final CommandLine commandLine ) throws Exception
371    {
372        if ( this.isLoggable( Level.INFO ) )
373        {
374            this.log( Level.INFO, this.getStartingProcessingMessage( this.getLocale(), this.getCommandName() ), null );
375        }
376 
377        final Modules modules = this.getModules( commandLine );
378        final ClassLoader classLoader = this.getClassLoader( commandLine );
379        final ModelContext context = this.getModelContext( classLoader );
380        final Marshaller marshaller = context.createMarshaller();
381        final Unmarshaller unmarshaller = context.createUnmarshaller();
382        final ModelValidationReport validationReport = context.validateModel( modules );
383        this.log( validationReport, marshaller );
384 
385        if ( validationReport.isModelValid() )
386        {
387            modules.getModule().remove( modules.getModule( Modules.getDefaultClasspathModuleName() ) );
388 
389            File stylesheetFile = null;
390            if ( commandLine.hasOption( this.getStylesheetOption().getOpt() ) )
391            {
392                stylesheetFile = new File( commandLine.getOptionValue( this.getStylesheetOption().getOpt() ) );
393            }
394 
395            String moduleVersion = null;
396            if ( commandLine.hasOption( this.getModuleVersionOption().getOpt() ) )
397            {
398                moduleVersion = commandLine.getOptionValue( this.getModuleVersionOption().getOpt() );
399            }
400 
401            String moduleVendor = null;
402            if ( commandLine.hasOption( this.getModuleVendorOption().getOpt() ) )
403            {
404                moduleVendor = commandLine.getOptionValue( this.getModuleVendorOption().getOpt() );
405            }
406 
407            if ( commandLine.hasOption( this.getModuleIncludesOption().getOpt() ) )
408            {
409                final String[] values = commandLine.getOptionValues( this.getModuleIncludesOption().getOpt() );
410 
411                if ( values != null )
412                {
413                    final List<String> includes = Arrays.asList( values );
414 
415                    for ( final Iterator<Module> it = modules.getModule().iterator(); it.hasNext(); )
416                    {
417                        final Module m = it.next();
418                        if ( !includes.contains( m.getName() ) )
419                        {
420                            this.log( Level.INFO, this.getExcludingModuleMessage(
421                                this.getLocale(), m.getName() ), null );
422 
423                            it.remove();
424                        }
425                        else
426                        {
427                            this.log( Level.INFO, this.getIncludingModuleMessage(
428                                this.getLocale(), m.getName() ), null );
429 
430                        }
431                    }
432                }
433            }
434 
435            if ( commandLine.hasOption( this.getModuleExcludesOption().getOpt() ) )
436            {
437                final String[] values = commandLine.getOptionValues( this.getModuleExcludesOption().getOpt() );
438 
439                if ( values != null )
440                {
441                    for ( String exclude : values )
442                    {
443                        final Module m = modules.getModule( exclude );
444 
445                        if ( m != null )
446                        {
447                            this.log( Level.INFO, this.getExcludingModuleMessage(
448                                this.getLocale(), m.getName() ), null );
449 
450                            modules.getModule().remove( m );
451                        }
452                    }
453                }
454            }
455 
456            Module mergedModule = modules.getMergedModule();
457            mergedModule.setName( commandLine.getOptionValue( this.getModuleNameOption().getOpt() ) );
458            mergedModule.setVersion( moduleVersion );
459            mergedModule.setVendor( moduleVendor );
460 
461            final File moduleFile = new File( commandLine.getOptionValue( this.getDocumentOption().getOpt() ) );
462 
463            if ( stylesheetFile != null )
464            {
465                final Transformer transformer =
466                    TransformerFactory.newInstance().newTransformer( new StreamSource( stylesheetFile ) );
467 
468                final JAXBSource source =
469                    new JAXBSource( marshaller, new ObjectFactory().createModule( mergedModule ) );
470 
471                final JAXBResult result = new JAXBResult( unmarshaller );
472                transformer.transform( source, result );
473                mergedModule = ( (JAXBElement<Module>) result.getResult() ).getValue();
474            }
475 
476            marshaller.setSchema( context.createSchema() );
477            marshaller.marshal( new ObjectFactory().createModule( mergedModule ), moduleFile );
478 
479            if ( this.isLoggable( Level.INFO ) )
480            {
481                this.log( Level.INFO, this.getWritingMessage( this.getLocale(), moduleFile.getAbsolutePath() ), null );
482            }
483 
484            return STATUS_SUCCESS;
485        }
486 
487        return STATUS_FAILURE;
488    }
489 
490    // SECTION-END
491    // SECTION-START[AssembleModulesCommand]
492    private Option stylesheetOption;
493 
494    private Option documentOption;
495 
496    private Option moduleVersionOption;
497 
498    private Option moduleVendorOption;
499 
500    private Option moduleIncludesOption;
501 
502    private Option moduleExcludesOption;
503 
504    protected Option getStylesheetOption()
505    {
506        if ( this.stylesheetOption == null )
507        {
508            this.stylesheetOption = new Option( this.getStylesheetOptionShortName(),
509                                                this.getStylesheetOptionLongName(), true,
510                                                this.getStylesheetOptionMessage( this.getLocale() ) );
511 
512            this.stylesheetOption.setArgName( this.getStylesheetOptionArgNameMessage( this.getLocale() ) );
513        }
514 
515        return this.stylesheetOption;
516    }
517 
518    protected Option getDocumentOption()
519    {
520        if ( this.documentOption == null )
521        {
522            this.documentOption = new Option( this.getDocumentOptionShortName(),
523                                              this.getDocumentOptionLongName(), true,
524                                              this.getDocumentOptionMessage( this.getLocale() ) );
525 
526            this.documentOption.setRequired( true );
527            this.documentOption.setArgName( this.getDocumentOptionArgNameMessage( this.getLocale() ) );
528        }
529 
530        return this.documentOption;
531    }
532 
533    protected Option getModuleVersionOption()
534    {
535        if ( this.moduleVersionOption == null )
536        {
537            this.moduleVersionOption = new Option( this.getModuleVersionOptionShortName(),
538                                                   this.getModuleVersionOptionLongName(), true,
539                                                   this.getModuleVersionOptionMessage( this.getLocale() ) );
540 
541            this.moduleVersionOption.setArgName( this.getModuleVersionOptionArgNameMessage( this.getLocale() ) );
542        }
543 
544        return this.moduleVersionOption;
545    }
546 
547    protected Option getModuleVendorOption()
548    {
549        if ( this.moduleVendorOption == null )
550        {
551            this.moduleVendorOption = new Option( this.getModuleVendorOptionShortName(),
552                                                  this.getModuleVendorOptionLongName(), true,
553                                                  this.getModuleVendorOptionMessage( this.getLocale() ) );
554 
555            this.moduleVendorOption.setArgName( this.getModuleVendorOptionArgNameMessage( this.getLocale() ) );
556        }
557 
558        return this.moduleVendorOption;
559    }
560 
561    protected Option getModuleIncludesOption()
562    {
563        if ( this.moduleIncludesOption == null )
564        {
565            this.moduleIncludesOption = new Option( this.getModuleIncludesOptionShortName(),
566                                                    this.getModuleIncludesOptionLongName(), false,
567                                                    this.getModuleIncludesOptionMessage( this.getLocale() ) );
568 
569            this.moduleIncludesOption.setArgName( this.getModuleIncludesOptionArgNameMessage( this.getLocale() ) );
570            this.moduleIncludesOption.setValueSeparator( ':' );
571            this.moduleIncludesOption.setArgs( Option.UNLIMITED_VALUES );
572        }
573 
574        return this.moduleIncludesOption;
575    }
576 
577    protected Option getModuleExcludesOption()
578    {
579        if ( this.moduleExcludesOption == null )
580        {
581            this.moduleExcludesOption = new Option( this.getModuleExcludesOptionShortName(),
582                                                    this.getModuleExcludesOptionLongName(), false,
583                                                    this.getModuleExcludesOptionMessage( this.getLocale() ) );
584 
585            this.moduleExcludesOption.setArgName( this.getModuleExcludesOptionArgNameMessage( this.getLocale() ) );
586            this.moduleExcludesOption.setValueSeparator( ':' );
587            this.moduleExcludesOption.setArgs( Option.UNLIMITED_VALUES );
588        }
589 
590        return this.moduleExcludesOption;
591    }
592 
593    // SECTION-END
594    // SECTION-START[Constructors]
595    // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
596 
597    /** Creates a new {@code MergeModulesCommand} instance. */
598    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
599                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
600    public MergeModulesCommand()
601    {
602        // SECTION-START[Default Constructor]
603        super();
604        // SECTION-END
605    }
606    // </editor-fold>
607    // SECTION-END
608    // SECTION-START[Dependencies]
609    // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
610 
611    /**
612     * Gets the {@code Locale} dependency.
613     * <p>This method returns the "{@code default}" object of the {@code java.util.Locale} specification at specification level 1.1.</p>
614     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
615     * @return The {@code Locale} dependency.
616     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
617     */
618    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
619                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
620    private java.util.Locale getLocale()
621    {
622        final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
623        assert _d != null : "'Locale' dependency not found.";
624        return _d;
625    }
626    // </editor-fold>
627    // SECTION-END
628    // SECTION-START[Properties]
629    // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
630 
631    /**
632     * Gets the value of the {@code abbreviatedCommandName} property.
633     * @return Abbreviated name of the command.
634     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
635     */
636    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
637                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
638    private java.lang.String getAbbreviatedCommandName()
639    {
640        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
641        assert _p != null : "'abbreviatedCommandName' property not found.";
642        return _p;
643    }
644 
645    /**
646     * Gets the value of the {@code classpathOptionLongName} property.
647     * @return Long name of the 'classpath' option.
648     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
649     */
650    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
651                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
652    private java.lang.String getClasspathOptionLongName()
653    {
654        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "classpathOptionLongName" );
655        assert _p != null : "'classpathOptionLongName' property not found.";
656        return _p;
657    }
658 
659    /**
660     * Gets the value of the {@code classpathOptionShortName} property.
661     * @return Name of the 'classpath' option.
662     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
663     */
664    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
665                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
666    private java.lang.String getClasspathOptionShortName()
667    {
668        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "classpathOptionShortName" );
669        assert _p != null : "'classpathOptionShortName' property not found.";
670        return _p;
671    }
672 
673    /**
674     * Gets the value of the {@code commandName} property.
675     * @return Name of the command.
676     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
677     */
678    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
679                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
680    private java.lang.String getCommandName()
681    {
682        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
683        assert _p != null : "'commandName' property not found.";
684        return _p;
685    }
686 
687    /**
688     * Gets the value of the {@code documentOptionLongName} property.
689     * @return Long name of the 'document' option.
690     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
691     */
692    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
693                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
694    private java.lang.String getDocumentOptionLongName()
695    {
696        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentOptionLongName" );
697        assert _p != null : "'documentOptionLongName' property not found.";
698        return _p;
699    }
700 
701    /**
702     * Gets the value of the {@code documentOptionShortName} property.
703     * @return Name of the 'document' option.
704     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
705     */
706    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
707                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
708    private java.lang.String getDocumentOptionShortName()
709    {
710        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentOptionShortName" );
711        assert _p != null : "'documentOptionShortName' property not found.";
712        return _p;
713    }
714 
715    /**
716     * Gets the value of the {@code documentsOptionLongName} property.
717     * @return Long name of the 'documents' option.
718     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
719     */
720    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
721                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
722    private java.lang.String getDocumentsOptionLongName()
723    {
724        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentsOptionLongName" );
725        assert _p != null : "'documentsOptionLongName' property not found.";
726        return _p;
727    }
728 
729    /**
730     * Gets the value of the {@code documentsOptionShortName} property.
731     * @return Name of the 'documents' option.
732     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
733     */
734    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
735                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
736    private java.lang.String getDocumentsOptionShortName()
737    {
738        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentsOptionShortName" );
739        assert _p != null : "'documentsOptionShortName' property not found.";
740        return _p;
741    }
742 
743    /**
744     * Gets the value of the {@code moduleExcludesOptionLongName} property.
745     * @return Long name of the 'module-excludes' option.
746     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
747     */
748    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
749                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
750    private java.lang.String getModuleExcludesOptionLongName()
751    {
752        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleExcludesOptionLongName" );
753        assert _p != null : "'moduleExcludesOptionLongName' property not found.";
754        return _p;
755    }
756 
757    /**
758     * Gets the value of the {@code moduleExcludesOptionShortName} property.
759     * @return Name of the 'module-excludes' option.
760     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
761     */
762    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
763                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
764    private java.lang.String getModuleExcludesOptionShortName()
765    {
766        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleExcludesOptionShortName" );
767        assert _p != null : "'moduleExcludesOptionShortName' property not found.";
768        return _p;
769    }
770 
771    /**
772     * Gets the value of the {@code moduleIncludesOptionLongName} property.
773     * @return Long name of the 'module-includes' option.
774     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
775     */
776    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
777                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
778    private java.lang.String getModuleIncludesOptionLongName()
779    {
780        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleIncludesOptionLongName" );
781        assert _p != null : "'moduleIncludesOptionLongName' property not found.";
782        return _p;
783    }
784 
785    /**
786     * Gets the value of the {@code moduleIncludesOptionShortName} property.
787     * @return Name of the 'module-includes' option.
788     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
789     */
790    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
791                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
792    private java.lang.String getModuleIncludesOptionShortName()
793    {
794        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleIncludesOptionShortName" );
795        assert _p != null : "'moduleIncludesOptionShortName' property not found.";
796        return _p;
797    }
798 
799    /**
800     * Gets the value of the {@code moduleLocationOptionLongName} property.
801     * @return Long name of the 'module-location' option.
802     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
803     */
804    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
805                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
806    private java.lang.String getModuleLocationOptionLongName()
807    {
808        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleLocationOptionLongName" );
809        assert _p != null : "'moduleLocationOptionLongName' property not found.";
810        return _p;
811    }
812 
813    /**
814     * Gets the value of the {@code moduleLocationOptionShortName} property.
815     * @return Name of the 'module-location' option.
816     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
817     */
818    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
819                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
820    private java.lang.String getModuleLocationOptionShortName()
821    {
822        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleLocationOptionShortName" );
823        assert _p != null : "'moduleLocationOptionShortName' property not found.";
824        return _p;
825    }
826 
827    /**
828     * Gets the value of the {@code moduleNameOptionLongName} property.
829     * @return Long name of the 'module' option.
830     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
831     */
832    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
833                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
834    private java.lang.String getModuleNameOptionLongName()
835    {
836        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleNameOptionLongName" );
837        assert _p != null : "'moduleNameOptionLongName' property not found.";
838        return _p;
839    }
840 
841    /**
842     * Gets the value of the {@code moduleNameOptionShortName} property.
843     * @return Name of the 'module' option.
844     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
845     */
846    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
847                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
848    private java.lang.String getModuleNameOptionShortName()
849    {
850        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleNameOptionShortName" );
851        assert _p != null : "'moduleNameOptionShortName' property not found.";
852        return _p;
853    }
854 
855    /**
856     * Gets the value of the {@code moduleVendorOptionLongName} property.
857     * @return Long name of the 'module-vendor' option.
858     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
859     */
860    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
861                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
862    private java.lang.String getModuleVendorOptionLongName()
863    {
864        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleVendorOptionLongName" );
865        assert _p != null : "'moduleVendorOptionLongName' property not found.";
866        return _p;
867    }
868 
869    /**
870     * Gets the value of the {@code moduleVendorOptionShortName} property.
871     * @return Name of the 'module-vendor' option.
872     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
873     */
874    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
875                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
876    private java.lang.String getModuleVendorOptionShortName()
877    {
878        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleVendorOptionShortName" );
879        assert _p != null : "'moduleVendorOptionShortName' property not found.";
880        return _p;
881    }
882 
883    /**
884     * Gets the value of the {@code moduleVersionOptionLongName} property.
885     * @return Long name of the 'module-version' option.
886     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
887     */
888    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
889                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
890    private java.lang.String getModuleVersionOptionLongName()
891    {
892        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleVersionOptionLongName" );
893        assert _p != null : "'moduleVersionOptionLongName' property not found.";
894        return _p;
895    }
896 
897    /**
898     * Gets the value of the {@code moduleVersionOptionShortName} property.
899     * @return Name of the 'module-version' option.
900     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
901     */
902    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
903                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
904    private java.lang.String getModuleVersionOptionShortName()
905    {
906        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleVersionOptionShortName" );
907        assert _p != null : "'moduleVersionOptionShortName' property not found.";
908        return _p;
909    }
910 
911    /**
912     * Gets the value of the {@code noClasspathResolutionOptionLongName} property.
913     * @return Long name of the 'no-classpath-resolution' option.
914     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
915     */
916    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
917                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
918    private java.lang.String getNoClasspathResolutionOptionLongName()
919    {
920        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "noClasspathResolutionOptionLongName" );
921        assert _p != null : "'noClasspathResolutionOptionLongName' property not found.";
922        return _p;
923    }
924 
925    /**
926     * Gets the value of the {@code noClasspathResolutionOptionShortName} property.
927     * @return Name of the 'no-classpath-resolution' option.
928     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
929     */
930    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
931                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
932    private java.lang.String getNoClasspathResolutionOptionShortName()
933    {
934        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "noClasspathResolutionOptionShortName" );
935        assert _p != null : "'noClasspathResolutionOptionShortName' property not found.";
936        return _p;
937    }
938 
939    /**
940     * Gets the value of the {@code stylesheetOptionLongName} property.
941     * @return Long name of the 'xslt' option.
942     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
943     */
944    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
945                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
946    private java.lang.String getStylesheetOptionLongName()
947    {
948        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "stylesheetOptionLongName" );
949        assert _p != null : "'stylesheetOptionLongName' property not found.";
950        return _p;
951    }
952 
953    /**
954     * Gets the value of the {@code stylesheetOptionShortName} property.
955     * @return Name of the 'xslt' option.
956     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
957     */
958    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
959                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
960    private java.lang.String getStylesheetOptionShortName()
961    {
962        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "stylesheetOptionShortName" );
963        assert _p != null : "'stylesheetOptionShortName' property not found.";
964        return _p;
965    }
966    // </editor-fold>
967    // SECTION-END
968    // SECTION-START[Messages]
969    // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
970 
971    /**
972     * Gets the text of the {@code applicationTitle} message.
973     * <p><b>Templates</b><br/><table>
974     * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-15 Build 2010-01-19T12:08:03+0000</pre></td></tr>
975     * </table></p>
976     * @param locale The locale of the message to return.
977     * @return The text of the {@code applicationTitle} message.
978     *
979     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
980     */
981    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
982                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
983    private String getApplicationTitleMessage( final java.util.Locale locale )
984    {
985        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
986        assert _m != null : "'applicationTitle' message not found.";
987        return _m;
988    }
989 
990    /**
991     * Gets the text of the {@code cannotProcess} message.
992     * <p><b>Templates</b><br/><table>
993     * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
994     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
995     * </table></p>
996     * @param locale The locale of the message to return.
997     * @param itemInfo Format argument.
998     * @param detailMessage Format argument.
999     * @return The text of the {@code cannotProcess} message.
1000     *
1001     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1002     */
1003    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1004                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1005    private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
1006    {
1007        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcess", locale, itemInfo, detailMessage );
1008        assert _m != null : "'cannotProcess' message not found.";
1009        return _m;
1010    }
1011 
1012    /**
1013     * Gets the text of the {@code classpathElement} message.
1014     * <p><b>Templates</b><br/><table>
1015     * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
1016     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
1017     * </table></p>
1018     * @param locale The locale of the message to return.
1019     * @param classpathElement Format argument.
1020     * @return The text of the {@code classpathElement} message.
1021     *
1022     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1023     */
1024    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1025                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1026    private String getClasspathElementMessage( final java.util.Locale locale, final java.lang.String classpathElement )
1027    {
1028        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElement", locale, classpathElement );
1029        assert _m != null : "'classpathElement' message not found.";
1030        return _m;
1031    }
1032 
1033    /**
1034     * Gets the text of the {@code classpathOption} message.
1035     * <p><b>Templates</b><br/><table>
1036     * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath elements separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding classpath elements.</pre></td></tr>
1037     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Elemente mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Klassenpfad-Elementen.</pre></td></tr>
1038     * </table></p>
1039     * @param locale The locale of the message to return.
1040     * @param pathSeparator Format argument.
1041     * @return The text of the {@code classpathOption} message.
1042     *
1043     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1044     */
1045    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1046                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1047    private String getClasspathOptionMessage( final java.util.Locale locale, final java.lang.String pathSeparator )
1048    {
1049        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathOption", locale, pathSeparator );
1050        assert _m != null : "'classpathOption' message not found.";
1051        return _m;
1052    }
1053 
1054    /**
1055     * Gets the text of the {@code classpathOptionArgName} message.
1056     * <p><b>Templates</b><br/><table>
1057     * <tr><td valign="top">English:</td><td valign="top"><pre>elements</pre></td></tr>
1058     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Elemente</pre></td></tr>
1059     * </table></p>
1060     * @param locale The locale of the message to return.
1061     * @return The text of the {@code classpathOptionArgName} message.
1062     *
1063     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1064     */
1065    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1066                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1067    private String getClasspathOptionArgNameMessage( final java.util.Locale locale )
1068    {
1069        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathOptionArgName", locale );
1070        assert _m != null : "'classpathOptionArgName' message not found.";
1071        return _m;
1072    }
1073 
1074    /**
1075     * Gets the text of the {@code defaultLogLevelInfo} message.
1076     * <p><b>Templates</b><br/><table>
1077     * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
1078     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
1079     * </table></p>
1080     * @param locale The locale of the message to return.
1081     * @param defaultLogLevel Format argument.
1082     * @return The text of the {@code defaultLogLevelInfo} message.
1083     *
1084     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1085     */
1086    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1087                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1088    private String getDefaultLogLevelInfoMessage( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1089    {
1090        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1091        assert _m != null : "'defaultLogLevelInfo' message not found.";
1092        return _m;
1093    }
1094 
1095    /**
1096     * Gets the text of the {@code documentFile} message.
1097     * <p><b>Templates</b><br/><table>
1098     * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
1099     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
1100     * </table></p>
1101     * @param locale The locale of the message to return.
1102     * @param documentFile Format argument.
1103     * @return The text of the {@code documentFile} message.
1104     *
1105     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1106     */
1107    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1108                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1109    private String getDocumentFileMessage( final java.util.Locale locale, final java.lang.String documentFile )
1110    {
1111        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFile", locale, documentFile );
1112        assert _m != null : "'documentFile' message not found.";
1113        return _m;
1114    }
1115 
1116    /**
1117     * Gets the text of the {@code documentOption} message.
1118     * <p><b>Templates</b><br/><table>
1119     * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the file to write the merged module to.</pre></td></tr>
1120     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name der Datei in die das zusammengef&uuml;gte Modul geschrieben werden soll.</pre></td></tr>
1121     * </table></p>
1122     * @param locale The locale of the message to return.
1123     * @return The text of the {@code documentOption} message.
1124     *
1125     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1126     */
1127    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1128                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1129    private String getDocumentOptionMessage( final java.util.Locale locale )
1130    {
1131        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentOption", locale );
1132        assert _m != null : "'documentOption' message not found.";
1133        return _m;
1134    }
1135 
1136    /**
1137     * Gets the text of the {@code documentOptionArgName} message.
1138     * <p><b>Templates</b><br/><table>
1139     * <tr><td valign="top">English:</td><td valign="top"><pre>file</pre></td></tr>
1140     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Datei</pre></td></tr>
1141     * </table></p>
1142     * @param locale The locale of the message to return.
1143     * @return The text of the {@code documentOptionArgName} message.
1144     *
1145     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1146     */
1147    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1148                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1149    private String getDocumentOptionArgNameMessage( final java.util.Locale locale )
1150    {
1151        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentOptionArgName", locale );
1152        assert _m != null : "'documentOptionArgName' message not found.";
1153        return _m;
1154    }
1155 
1156    /**
1157     * Gets the text of the {@code documentsOption} message.
1158     * <p><b>Templates</b><br/><table>
1159     * <tr><td valign="top">English:</td><td valign="top"><pre>Document filenames separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding document filenames.</pre></td></tr>
1160     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Dateinamen mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Dokument-Dateinamen.</pre></td></tr>
1161     * </table></p>
1162     * @param locale The locale of the message to return.
1163     * @param pathSeparator Format argument.
1164     * @return The text of the {@code documentsOption} message.
1165     *
1166     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1167     */
1168    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1169                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1170    private String getDocumentsOptionMessage( final java.util.Locale locale, final java.lang.String pathSeparator )
1171    {
1172        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentsOption", locale, pathSeparator );
1173        assert _m != null : "'documentsOption' message not found.";
1174        return _m;
1175    }
1176 
1177    /**
1178     * Gets the text of the {@code documentsOptionArgName} message.
1179     * <p><b>Templates</b><br/><table>
1180     * <tr><td valign="top">English:</td><td valign="top"><pre>files</pre></td></tr>
1181     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dateien</pre></td></tr>
1182     * </table></p>
1183     * @param locale The locale of the message to return.
1184     * @return The text of the {@code documentsOptionArgName} message.
1185     *
1186     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1187     */
1188    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1189                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1190    private String getDocumentsOptionArgNameMessage( final java.util.Locale locale )
1191    {
1192        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentsOptionArgName", locale );
1193        assert _m != null : "'documentsOptionArgName' message not found.";
1194        return _m;
1195    }
1196 
1197    /**
1198     * Gets the text of the {@code excludingModule} message.
1199     * <p><b>Templates</b><br/><table>
1200     * <tr><td valign="top">English:</td><td valign="top"><pre>Excluding module ''{0}''.</pre></td></tr>
1201     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schlie&szlig;t Modul ''{0}'' aus.</pre></td></tr>
1202     * </table></p>
1203     * @param locale The locale of the message to return.
1204     * @param moduleName Format argument.
1205     * @return The text of the {@code excludingModule} message.
1206     *
1207     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1208     */
1209    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1210                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1211    private String getExcludingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
1212    {
1213        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludingModule", locale, moduleName );
1214        assert _m != null : "'excludingModule' message not found.";
1215        return _m;
1216    }
1217 
1218    /**
1219     * Gets the text of the {@code includingModule} message.
1220     * <p><b>Templates</b><br/><table>
1221     * <tr><td valign="top">English:</td><td valign="top"><pre>Including module ''{0}''.</pre></td></tr>
1222     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schlie&szlig;t Modul ''{0}'' ein.</pre></td></tr>
1223     * </table></p>
1224     * @param locale The locale of the message to return.
1225     * @param moduleName Format argument.
1226     * @return The text of the {@code includingModule} message.
1227     *
1228     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1229     */
1230    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1231                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1232    private String getIncludingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
1233    {
1234        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "includingModule", locale, moduleName );
1235        assert _m != null : "'includingModule' message not found.";
1236        return _m;
1237    }
1238 
1239    /**
1240     * Gets the text of the {@code invalidModel} message.
1241     * <p><b>Templates</b><br/><table>
1242     * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
1243     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
1244     * </table></p>
1245     * @param locale The locale of the message to return.
1246     * @return The text of the {@code invalidModel} message.
1247     *
1248     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1249     */
1250    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1251                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1252    private String getInvalidModelMessage( final java.util.Locale locale )
1253    {
1254        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModel", locale );
1255        assert _m != null : "'invalidModel' message not found.";
1256        return _m;
1257    }
1258 
1259    /**
1260     * Gets the text of the {@code longDescription} message.
1261     * <p><b>Templates</b><br/><table>
1262     * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
1263     *   jomc merge-modules -df examples/xml/jomc-cli.xml \
1264     *                      -xs examples/xslt/relocate-classes.xsl \
1265     *                      -mn &quot;Merged Name&quot; -d /tmp/jomc.xml -v</pre></td></tr>
1266     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
1267     *   jomc merge-modules -df examples/xml/jomc-cli.xml \
1268     *                      -xs examples/xslt/relocate-classes.xsl \
1269     *                      -mn &quot;Merged Name&quot; -d /tmp/jomc.xml -v</pre></td></tr>
1270     * </table></p>
1271     * @param locale The locale of the message to return.
1272     * @return The text of the {@code longDescription} message.
1273     *
1274     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1275     */
1276    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1277                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1278    private String getLongDescriptionMessage( final java.util.Locale locale )
1279    {
1280        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescription", locale );
1281        assert _m != null : "'longDescription' message not found.";
1282        return _m;
1283    }
1284 
1285    /**
1286     * Gets the text of the {@code missingModule} message.
1287     * <p><b>Templates</b><br/><table>
1288     * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
1289     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
1290     * </table></p>
1291     * @param locale The locale of the message to return.
1292     * @param moduleName Format argument.
1293     * @return The text of the {@code missingModule} message.
1294     *
1295     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1296     */
1297    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1298                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1299    private String getMissingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
1300    {
1301        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "missingModule", locale, moduleName );
1302        assert _m != null : "'missingModule' message not found.";
1303        return _m;
1304    }
1305 
1306    /**
1307     * Gets the text of the {@code moduleExcludesOption} message.
1308     * <p><b>Templates</b><br/><table>
1309     * <tr><td valign="top">English:</td><td valign="top"><pre>Module names separated by '':'' of modules to exclude.</pre></td></tr>
1310     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul-Namen auszuschlie&szlig;ender Module mit '':'' getrennt.</pre></td></tr>
1311     * </table></p>
1312     * @param locale The locale of the message to return.
1313     * @return The text of the {@code moduleExcludesOption} message.
1314     *
1315     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1316     */
1317    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1318                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1319    private String getModuleExcludesOptionMessage( final java.util.Locale locale )
1320    {
1321        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleExcludesOption", locale );
1322        assert _m != null : "'moduleExcludesOption' message not found.";
1323        return _m;
1324    }
1325 
1326    /**
1327     * Gets the text of the {@code moduleExcludesOptionArgName} message.
1328     * <p><b>Templates</b><br/><table>
1329     * <tr><td valign="top">English:</td><td valign="top"><pre>names</pre></td></tr>
1330     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Namen</pre></td></tr>
1331     * </table></p>
1332     * @param locale The locale of the message to return.
1333     * @return The text of the {@code moduleExcludesOptionArgName} message.
1334     *
1335     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1336     */
1337    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1338                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1339    private String getModuleExcludesOptionArgNameMessage( final java.util.Locale locale )
1340    {
1341        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleExcludesOptionArgName", locale );
1342        assert _m != null : "'moduleExcludesOptionArgName' message not found.";
1343        return _m;
1344    }
1345 
1346    /**
1347     * Gets the text of the {@code moduleIncludesOption} message.
1348     * <p><b>Templates</b><br/><table>
1349     * <tr><td valign="top">English:</td><td valign="top"><pre>Module names separated by '':'' of modules to include.</pre></td></tr>
1350     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul-Namen einzuschlie&szlig;ender Module mit '':'' getrennt.</pre></td></tr>
1351     * </table></p>
1352     * @param locale The locale of the message to return.
1353     * @return The text of the {@code moduleIncludesOption} message.
1354     *
1355     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1356     */
1357    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1358                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1359    private String getModuleIncludesOptionMessage( final java.util.Locale locale )
1360    {
1361        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleIncludesOption", locale );
1362        assert _m != null : "'moduleIncludesOption' message not found.";
1363        return _m;
1364    }
1365 
1366    /**
1367     * Gets the text of the {@code moduleIncludesOptionArgName} message.
1368     * <p><b>Templates</b><br/><table>
1369     * <tr><td valign="top">English:</td><td valign="top"><pre>names</pre></td></tr>
1370     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Namen</pre></td></tr>
1371     * </table></p>
1372     * @param locale The locale of the message to return.
1373     * @return The text of the {@code moduleIncludesOptionArgName} message.
1374     *
1375     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1376     */
1377    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1378                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1379    private String getModuleIncludesOptionArgNameMessage( final java.util.Locale locale )
1380    {
1381        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleIncludesOptionArgName", locale );
1382        assert _m != null : "'moduleIncludesOptionArgName' message not found.";
1383        return _m;
1384    }
1385 
1386    /**
1387     * Gets the text of the {@code moduleLocationOption} message.
1388     * <p><b>Templates</b><br/><table>
1389     * <tr><td valign="top">English:</td><td valign="top"><pre>Location of classpath modules.</pre></td></tr>
1390     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort der Klassenpfad-Module.</pre></td></tr>
1391     * </table></p>
1392     * @param locale The locale of the message to return.
1393     * @return The text of the {@code moduleLocationOption} message.
1394     *
1395     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1396     */
1397    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1398                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1399    private String getModuleLocationOptionMessage( final java.util.Locale locale )
1400    {
1401        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleLocationOption", locale );
1402        assert _m != null : "'moduleLocationOption' message not found.";
1403        return _m;
1404    }
1405 
1406    /**
1407     * Gets the text of the {@code moduleLocationOptionArgName} message.
1408     * <p><b>Templates</b><br/><table>
1409     * <tr><td valign="top">English:</td><td valign="top"><pre>location</pre></td></tr>
1410     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort</pre></td></tr>
1411     * </table></p>
1412     * @param locale The locale of the message to return.
1413     * @return The text of the {@code moduleLocationOptionArgName} message.
1414     *
1415     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1416     */
1417    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1418                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1419    private String getModuleLocationOptionArgNameMessage( final java.util.Locale locale )
1420    {
1421        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleLocationOptionArgName", locale );
1422        assert _m != null : "'moduleLocationOptionArgName' message not found.";
1423        return _m;
1424    }
1425 
1426    /**
1427     * Gets the text of the {@code moduleNameOption} message.
1428     * <p><b>Templates</b><br/><table>
1429     * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the module to process.</pre></td></tr>
1430     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name des zu verarbeitenden Moduls.</pre></td></tr>
1431     * </table></p>
1432     * @param locale The locale of the message to return.
1433     * @return The text of the {@code moduleNameOption} message.
1434     *
1435     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1436     */
1437    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1438                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1439    private String getModuleNameOptionMessage( final java.util.Locale locale )
1440    {
1441        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNameOption", locale );
1442        assert _m != null : "'moduleNameOption' message not found.";
1443        return _m;
1444    }
1445 
1446    /**
1447     * Gets the text of the {@code moduleNameOptionArgName} message.
1448     * <p><b>Templates</b><br/><table>
1449     * <tr><td valign="top">English:</td><td valign="top"><pre>name</pre></td></tr>
1450     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name</pre></td></tr>
1451     * </table></p>
1452     * @param locale The locale of the message to return.
1453     * @return The text of the {@code moduleNameOptionArgName} message.
1454     *
1455     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1456     */
1457    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1458                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1459    private String getModuleNameOptionArgNameMessage( final java.util.Locale locale )
1460    {
1461        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNameOptionArgName", locale );
1462        assert _m != null : "'moduleNameOptionArgName' message not found.";
1463        return _m;
1464    }
1465 
1466    /**
1467     * Gets the text of the {@code moduleVendorOption} message.
1468     * <p><b>Templates</b><br/><table>
1469     * <tr><td valign="top">English:</td><td valign="top"><pre>Vendor of the merged module.</pre></td></tr>
1470     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Hersteller des Ergebnis-Moduls.</pre></td></tr>
1471     * </table></p>
1472     * @param locale The locale of the message to return.
1473     * @return The text of the {@code moduleVendorOption} message.
1474     *
1475     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1476     */
1477    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1478                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1479    private String getModuleVendorOptionMessage( final java.util.Locale locale )
1480    {
1481        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleVendorOption", locale );
1482        assert _m != null : "'moduleVendorOption' message not found.";
1483        return _m;
1484    }
1485 
1486    /**
1487     * Gets the text of the {@code moduleVendorOptionArgName} message.
1488     * <p><b>Templates</b><br/><table>
1489     * <tr><td valign="top">English:</td><td valign="top"><pre>vendor</pre></td></tr>
1490     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Hersteller</pre></td></tr>
1491     * </table></p>
1492     * @param locale The locale of the message to return.
1493     * @return The text of the {@code moduleVendorOptionArgName} message.
1494     *
1495     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1496     */
1497    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1498                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1499    private String getModuleVendorOptionArgNameMessage( final java.util.Locale locale )
1500    {
1501        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleVendorOptionArgName", locale );
1502        assert _m != null : "'moduleVendorOptionArgName' message not found.";
1503        return _m;
1504    }
1505 
1506    /**
1507     * Gets the text of the {@code moduleVersionOption} message.
1508     * <p><b>Templates</b><br/><table>
1509     * <tr><td valign="top">English:</td><td valign="top"><pre>Version of the merged module.</pre></td></tr>
1510     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Version des Ergebnis-Moduls.</pre></td></tr>
1511     * </table></p>
1512     * @param locale The locale of the message to return.
1513     * @return The text of the {@code moduleVersionOption} message.
1514     *
1515     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1516     */
1517    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1518                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1519    private String getModuleVersionOptionMessage( final java.util.Locale locale )
1520    {
1521        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleVersionOption", locale );
1522        assert _m != null : "'moduleVersionOption' message not found.";
1523        return _m;
1524    }
1525 
1526    /**
1527     * Gets the text of the {@code moduleVersionOptionArgName} message.
1528     * <p><b>Templates</b><br/><table>
1529     * <tr><td valign="top">English:</td><td valign="top"><pre>version</pre></td></tr>
1530     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Version</pre></td></tr>
1531     * </table></p>
1532     * @param locale The locale of the message to return.
1533     * @return The text of the {@code moduleVersionOptionArgName} message.
1534     *
1535     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1536     */
1537    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1538                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1539    private String getModuleVersionOptionArgNameMessage( final java.util.Locale locale )
1540    {
1541        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleVersionOptionArgName", locale );
1542        assert _m != null : "'moduleVersionOptionArgName' message not found.";
1543        return _m;
1544    }
1545 
1546    /**
1547     * Gets the text of the {@code modulesReport} message.
1548     * <p><b>Templates</b><br/><table>
1549     * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
1550     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
1551     * </table></p>
1552     * @param locale The locale of the message to return.
1553     * @return The text of the {@code modulesReport} message.
1554     *
1555     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1556     */
1557    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1558                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1559    private String getModulesReportMessage( final java.util.Locale locale )
1560    {
1561        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "modulesReport", locale );
1562        assert _m != null : "'modulesReport' message not found.";
1563        return _m;
1564    }
1565 
1566    /**
1567     * Gets the text of the {@code noClasspathResolutionOption} message.
1568     * <p><b>Templates</b><br/><table>
1569     * <tr><td valign="top">English:</td><td valign="top"><pre>Do not perform classpath resolution.</pre></td></tr>
1570     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Keine Klassenpfad-Aufl&ouml;sung durchf&uuml;hren.</pre></td></tr>
1571     * </table></p>
1572     * @param locale The locale of the message to return.
1573     * @return The text of the {@code noClasspathResolutionOption} message.
1574     *
1575     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1576     */
1577    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1578                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1579    private String getNoClasspathResolutionOptionMessage( final java.util.Locale locale )
1580    {
1581        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "noClasspathResolutionOption", locale );
1582        assert _m != null : "'noClasspathResolutionOption' message not found.";
1583        return _m;
1584    }
1585 
1586    /**
1587     * Gets the text of the {@code separator} message.
1588     * <p><b>Templates</b><br/><table>
1589     * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
1590     * </table></p>
1591     * @param locale The locale of the message to return.
1592     * @return The text of the {@code separator} message.
1593     *
1594     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1595     */
1596    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1597                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1598    private String getSeparatorMessage( final java.util.Locale locale )
1599    {
1600        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1601        assert _m != null : "'separator' message not found.";
1602        return _m;
1603    }
1604 
1605    /**
1606     * Gets the text of the {@code shortDescription} message.
1607     * <p><b>Templates</b><br/><table>
1608     * <tr><td valign="top">English:</td><td valign="top"><pre>Merges modules.</pre></td></tr>
1609     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;gt Module zusammen.</pre></td></tr>
1610     * </table></p>
1611     * @param locale The locale of the message to return.
1612     * @return The text of the {@code shortDescription} message.
1613     *
1614     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1615     */
1616    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1617                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1618    private String getShortDescriptionMessage( final java.util.Locale locale )
1619    {
1620        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescription", locale );
1621        assert _m != null : "'shortDescription' message not found.";
1622        return _m;
1623    }
1624 
1625    /**
1626     * Gets the text of the {@code startingModuleProcessing} message.
1627     * <p><b>Templates</b><br/><table>
1628     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
1629     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
1630     * </table></p>
1631     * @param locale The locale of the message to return.
1632     * @param toolName Format argument.
1633     * @param moduleName Format argument.
1634     * @return The text of the {@code startingModuleProcessing} message.
1635     *
1636     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1637     */
1638    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1639                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1640    private String getStartingModuleProcessingMessage( final java.util.Locale locale, final java.lang.String toolName, final java.lang.String moduleName )
1641    {
1642        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingModuleProcessing", locale, toolName, moduleName );
1643        assert _m != null : "'startingModuleProcessing' message not found.";
1644        return _m;
1645    }
1646 
1647    /**
1648     * Gets the text of the {@code startingProcessing} message.
1649     * <p><b>Templates</b><br/><table>
1650     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
1651     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
1652     * </table></p>
1653     * @param locale The locale of the message to return.
1654     * @param toolName Format argument.
1655     * @return The text of the {@code startingProcessing} message.
1656     *
1657     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1658     */
1659    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1660                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1661    private String getStartingProcessingMessage( final java.util.Locale locale, final java.lang.String toolName )
1662    {
1663        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingProcessing", locale, toolName );
1664        assert _m != null : "'startingProcessing' message not found.";
1665        return _m;
1666    }
1667 
1668    /**
1669     * Gets the text of the {@code stylesheetOption} message.
1670     * <p><b>Templates</b><br/><table>
1671     * <tr><td valign="top">English:</td><td valign="top"><pre>Name of a XSLT file to use for transforming the merged module.</pre></td></tr>
1672     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name einer XSLT Datei mit der das zusammengef&uuml;gte Modul transformiert werden soll.</pre></td></tr>
1673     * </table></p>
1674     * @param locale The locale of the message to return.
1675     * @return The text of the {@code stylesheetOption} message.
1676     *
1677     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1678     */
1679    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1680                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1681    private String getStylesheetOptionMessage( final java.util.Locale locale )
1682    {
1683        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "stylesheetOption", locale );
1684        assert _m != null : "'stylesheetOption' message not found.";
1685        return _m;
1686    }
1687 
1688    /**
1689     * Gets the text of the {@code stylesheetOptionArgName} message.
1690     * <p><b>Templates</b><br/><table>
1691     * <tr><td valign="top">English:</td><td valign="top"><pre>XSLT file</pre></td></tr>
1692     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>XSLT-Datei</pre></td></tr>
1693     * </table></p>
1694     * @param locale The locale of the message to return.
1695     * @return The text of the {@code stylesheetOptionArgName} message.
1696     *
1697     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1698     */
1699    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1700                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1701    private String getStylesheetOptionArgNameMessage( final java.util.Locale locale )
1702    {
1703        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "stylesheetOptionArgName", locale );
1704        assert _m != null : "'stylesheetOptionArgName' message not found.";
1705        return _m;
1706    }
1707 
1708    /**
1709     * Gets the text of the {@code toolFailure} message.
1710     * <p><b>Templates</b><br/><table>
1711     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
1712     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
1713     * </table></p>
1714     * @param locale The locale of the message to return.
1715     * @param toolName Format argument.
1716     * @return The text of the {@code toolFailure} message.
1717     *
1718     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1719     */
1720    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1721                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1722    private String getToolFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1723    {
1724        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolFailure", locale, toolName );
1725        assert _m != null : "'toolFailure' message not found.";
1726        return _m;
1727    }
1728 
1729    /**
1730     * Gets the text of the {@code toolSuccess} message.
1731     * <p><b>Templates</b><br/><table>
1732     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
1733     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
1734     * </table></p>
1735     * @param locale The locale of the message to return.
1736     * @param toolName Format argument.
1737     * @return The text of the {@code toolSuccess} message.
1738     *
1739     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1740     */
1741    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1742                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1743    private String getToolSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1744    {
1745        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolSuccess", locale, toolName );
1746        assert _m != null : "'toolSuccess' message not found.";
1747        return _m;
1748    }
1749 
1750    /**
1751     * Gets the text of the {@code writing} message.
1752     * <p><b>Templates</b><br/><table>
1753     * <tr><td valign="top">English:</td><td valign="top"><pre>Writing ''{0}''.</pre></td></tr>
1754     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schreibt ''{0}''.</pre></td></tr>
1755     * </table></p>
1756     * @param locale The locale of the message to return.
1757     * @param fileName Format argument.
1758     * @return The text of the {@code writing} message.
1759     *
1760     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1761     */
1762    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
1763                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-15/jomc-tools" )
1764    private String getWritingMessage( final java.util.Locale locale, final java.lang.String fileName )
1765    {
1766        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "writing", locale, fileName );
1767        assert _m != null : "'writing' message not found.";
1768        return _m;
1769    }
1770    // </editor-fold>
1771    // SECTION-END
1772}

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