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