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