001    // SECTION-START[License Header]
002    // <editor-fold defaultstate="collapsed" desc=" Generated License ">
003    /*
004     *   Java Object Management and Configuration
005     *   Copyright (C) Christian Schulte, 2005-206
006     *   All rights reserved.
007     *
008     *   Redistribution and use in source and binary forms, with or without
009     *   modification, are permitted provided that the following conditions
010     *   are met:
011     *
012     *     o Redistributions of source code must retain the above copyright
013     *       notice, this list of conditions and the following disclaimer.
014     *
015     *     o Redistributions in binary form must reproduce the above copyright
016     *       notice, this list of conditions and the following disclaimer in
017     *       the documentation and/or other materials provided with the
018     *       distribution.
019     *
020     *   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
021     *   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
022     *   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
023     *   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
024     *   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
025     *   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
026     *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
027     *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
028     *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
029     *   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
030     *
031     *   $JOMC: GenerateResourcesCommand.java 4463 2012-03-28 00:46:22Z schulte2005 $
032     *
033     */
034    // </editor-fold>
035    // SECTION-END
036    package org.jomc.cli.commands;
037    
038    import java.io.File;
039    import java.io.IOException;
040    import java.util.logging.Level;
041    import javax.xml.bind.JAXBContext;
042    import javax.xml.bind.JAXBException;
043    import javax.xml.bind.Marshaller;
044    import javax.xml.bind.util.JAXBSource;
045    import javax.xml.transform.Source;
046    import org.apache.commons.cli.CommandLine;
047    import org.jomc.model.Implementation;
048    import org.jomc.model.Module;
049    import org.jomc.model.Specification;
050    import org.jomc.modlet.Model;
051    import org.jomc.modlet.ModelContext;
052    import org.jomc.modlet.ModelException;
053    import org.jomc.modlet.ModelValidationReport;
054    import org.jomc.modlet.ObjectFactory;
055    import org.jomc.tools.ResourceFileProcessor;
056    
057    // SECTION-START[Documentation]
058    // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
059    /**
060     * JOMC CLI {@code generate-resources} command implementation.
061     *
062     * <dl>
063     *   <dt><b>Identifier:</b></dt><dd>JOMC CLI generate-resources Command</dd>
064     *   <dt><b>Name:</b></dt><dd>default-generate-resources</dd>
065     *   <dt><b>Specifications:</b></dt>
066     *     <dd>JOMC CLI Command @ 1.0</dd>
067     *   <dt><b>Abstract:</b></dt><dd>No</dd>
068     *   <dt><b>Final:</b></dt><dd>No</dd>
069     *   <dt><b>Stateless:</b></dt><dd>No</dd>
070     * </dl>
071     *
072     * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0
073     * @version 1.2.5
074     */
075    // </editor-fold>
076    // SECTION-END
077    // SECTION-START[Annotations]
078    // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
079    @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
080    // </editor-fold>
081    // SECTION-END
082    public final class GenerateResourcesCommand extends AbstractResourceFileProcessorCommand
083    {
084        // SECTION-START[Command]
085        // SECTION-END
086        // SECTION-START[GenerateResourcesCommand]
087    
088        protected void processResourceFiles( final CommandLine commandLine ) throws CommandExecutionException
089        {
090            if ( commandLine == null )
091            {
092                throw new NullPointerException( "commandLine" );
093            }
094    
095            CommandLineClassLoader classLoader = null;
096            boolean suppressExceptionOnClose = true;
097    
098            try
099            {
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 ResourceFileProcessor tool = this.createResourceFileProcessor( commandLine );
117                tool.setModel( model );
118    
119                final File resourcesDirectory =
120                    new File( commandLine.getOptionValue( this.getResourceDirectoryOption().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.writeResourceBundleResourceFiles( specification, resourcesDirectory );
129                }
130    
131                if ( implementation != null )
132                {
133                    tool.writeResourceBundleResourceFiles( implementation, resourcesDirectory );
134                }
135    
136                if ( module != null )
137                {
138                    tool.writeResourceBundleResourceFiles( module, resourcesDirectory );
139                }
140    
141                if ( this.isModulesProcessingRequested( commandLine ) )
142                {
143                    tool.writeResourceBundleResourceFiles( resourcesDirectory );
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 GenerateResourcesCommand} instance. */
193        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
194        public GenerateResourcesCommand()
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        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
217        private org.apache.commons.cli.Option getClasspathOption()
218        {
219            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
220            assert _d != null : "'ClasspathOption' dependency not found.";
221            return _d;
222        }
223        /**
224         * Gets the {@code <CountryOption>} dependency.
225         * <p>
226         *   This method returns the {@code <JOMC CLI Country Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
227         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
228         * </p>
229         * <dl>
230         *   <dt><b>Final:</b></dt><dd>No</dd>
231         * </dl>
232         * @return The {@code <CountryOption>} dependency.
233         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
234         */
235        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
236        private org.apache.commons.cli.Option getCountryOption()
237        {
238            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" );
239            assert _d != null : "'CountryOption' dependency not found.";
240            return _d;
241        }
242        /**
243         * Gets the {@code <DefaultTemplateProfileOption>} dependency.
244         * <p>
245         *   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.
246         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
247         * </p>
248         * <dl>
249         *   <dt><b>Final:</b></dt><dd>No</dd>
250         * </dl>
251         * @return The {@code <DefaultTemplateProfileOption>} dependency.
252         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
253         */
254        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
255        private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
256        {
257            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" );
258            assert _d != null : "'DefaultTemplateProfileOption' dependency not found.";
259            return _d;
260        }
261        /**
262         * Gets the {@code <DocumentsOption>} dependency.
263         * <p>
264         *   This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
265         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
266         * </p>
267         * <dl>
268         *   <dt><b>Final:</b></dt><dd>No</dd>
269         * </dl>
270         * @return The {@code <DocumentsOption>} dependency.
271         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
272         */
273        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
274        private org.apache.commons.cli.Option getDocumentsOption()
275        {
276            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
277            assert _d != null : "'DocumentsOption' dependency not found.";
278            return _d;
279        }
280        /**
281         * Gets the {@code <ImplementationOption>} dependency.
282         * <p>
283         *   This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
284         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
285         * </p>
286         * <dl>
287         *   <dt><b>Final:</b></dt><dd>No</dd>
288         * </dl>
289         * @return The {@code <ImplementationOption>} dependency.
290         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
291         */
292        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
293        private org.apache.commons.cli.Option getImplementationOption()
294        {
295            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" );
296            assert _d != null : "'ImplementationOption' dependency not found.";
297            return _d;
298        }
299        /**
300         * Gets the {@code <IndentationStringOption>} dependency.
301         * <p>
302         *   This method returns the {@code <JOMC CLI Indentation String Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
303         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
304         * </p>
305         * <dl>
306         *   <dt><b>Final:</b></dt><dd>No</dd>
307         * </dl>
308         * @return The {@code <IndentationStringOption>} dependency.
309         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
310         */
311        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
312        private org.apache.commons.cli.Option getIndentationStringOption()
313        {
314            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" );
315            assert _d != null : "'IndentationStringOption' dependency not found.";
316            return _d;
317        }
318        /**
319         * Gets the {@code <InputEncodingOption>} dependency.
320         * <p>
321         *   This method returns the {@code <JOMC CLI Input Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
322         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
323         * </p>
324         * <dl>
325         *   <dt><b>Final:</b></dt><dd>No</dd>
326         * </dl>
327         * @return The {@code <InputEncodingOption>} dependency.
328         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
329         */
330        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
331        private org.apache.commons.cli.Option getInputEncodingOption()
332        {
333            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
334            assert _d != null : "'InputEncodingOption' dependency not found.";
335            return _d;
336        }
337        /**
338         * Gets the {@code <LanguageOption>} dependency.
339         * <p>
340         *   This method returns the {@code <JOMC CLI Language Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
341         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
342         * </p>
343         * <dl>
344         *   <dt><b>Final:</b></dt><dd>No</dd>
345         * </dl>
346         * @return The {@code <LanguageOption>} dependency.
347         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
348         */
349        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
350        private org.apache.commons.cli.Option getLanguageOption()
351        {
352            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" );
353            assert _d != null : "'LanguageOption' dependency not found.";
354            return _d;
355        }
356        /**
357         * Gets the {@code <LineSeparatorOption>} dependency.
358         * <p>
359         *   This method returns the {@code <JOMC CLI Line Separator Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
360         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
361         * </p>
362         * <dl>
363         *   <dt><b>Final:</b></dt><dd>No</dd>
364         * </dl>
365         * @return The {@code <LineSeparatorOption>} dependency.
366         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
367         */
368        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
369        private org.apache.commons.cli.Option getLineSeparatorOption()
370        {
371            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" );
372            assert _d != null : "'LineSeparatorOption' dependency not found.";
373            return _d;
374        }
375        /**
376         * Gets the {@code <Locale>} dependency.
377         * <p>
378         *   This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1.
379         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
380         * </p>
381         * <dl>
382         *   <dt><b>Final:</b></dt><dd>No</dd>
383         * </dl>
384         * @return The {@code <Locale>} dependency.
385         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
386         */
387        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
388        private java.util.Locale getLocale()
389        {
390            final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
391            assert _d != null : "'Locale' dependency not found.";
392            return _d;
393        }
394        /**
395         * Gets the {@code <LocaleVariantOption>} dependency.
396         * <p>
397         *   This method returns the {@code <JOMC CLI Locale Variant Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
398         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
399         * </p>
400         * <dl>
401         *   <dt><b>Final:</b></dt><dd>No</dd>
402         * </dl>
403         * @return The {@code <LocaleVariantOption>} dependency.
404         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
405         */
406        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
407        private org.apache.commons.cli.Option getLocaleVariantOption()
408        {
409            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" );
410            assert _d != null : "'LocaleVariantOption' dependency not found.";
411            return _d;
412        }
413        /**
414         * Gets the {@code <ModelContextFactoryOption>} dependency.
415         * <p>
416         *   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.
417         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
418         * </p>
419         * <dl>
420         *   <dt><b>Final:</b></dt><dd>No</dd>
421         * </dl>
422         * @return The {@code <ModelContextFactoryOption>} dependency.
423         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
424         */
425        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
426        private org.apache.commons.cli.Option getModelContextFactoryOption()
427        {
428            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" );
429            assert _d != null : "'ModelContextFactoryOption' dependency not found.";
430            return _d;
431        }
432        /**
433         * Gets the {@code <ModelOption>} dependency.
434         * <p>
435         *   This method returns the {@code <JOMC CLI Model Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
436         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
437         * </p>
438         * <dl>
439         *   <dt><b>Final:</b></dt><dd>No</dd>
440         * </dl>
441         * @return The {@code <ModelOption>} dependency.
442         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
443         */
444        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
445        private org.apache.commons.cli.Option getModelOption()
446        {
447            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" );
448            assert _d != null : "'ModelOption' dependency not found.";
449            return _d;
450        }
451        /**
452         * Gets the {@code <ModletLocationOption>} dependency.
453         * <p>
454         *   This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
455         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
456         * </p>
457         * <dl>
458         *   <dt><b>Final:</b></dt><dd>No</dd>
459         * </dl>
460         * @return The {@code <ModletLocationOption>} dependency.
461         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
462         */
463        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
464        private org.apache.commons.cli.Option getModletLocationOption()
465        {
466            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" );
467            assert _d != null : "'ModletLocationOption' dependency not found.";
468            return _d;
469        }
470        /**
471         * Gets the {@code <ModletSchemaSystemIdOption>} dependency.
472         * <p>
473         *   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.
474         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
475         * </p>
476         * <dl>
477         *   <dt><b>Final:</b></dt><dd>No</dd>
478         * </dl>
479         * @return The {@code <ModletSchemaSystemIdOption>} dependency.
480         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
481         */
482        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
483        private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
484        {
485            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" );
486            assert _d != null : "'ModletSchemaSystemIdOption' dependency not found.";
487            return _d;
488        }
489        /**
490         * Gets the {@code <ModuleLocationOption>} dependency.
491         * <p>
492         *   This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
493         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
494         * </p>
495         * <dl>
496         *   <dt><b>Final:</b></dt><dd>No</dd>
497         * </dl>
498         * @return The {@code <ModuleLocationOption>} dependency.
499         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
500         */
501        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
502        private org.apache.commons.cli.Option getModuleLocationOption()
503        {
504            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
505            assert _d != null : "'ModuleLocationOption' dependency not found.";
506            return _d;
507        }
508        /**
509         * Gets the {@code <ModuleNameOption>} dependency.
510         * <p>
511         *   This method returns the {@code <JOMC CLI Module Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
512         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
513         * </p>
514         * <dl>
515         *   <dt><b>Final:</b></dt><dd>No</dd>
516         * </dl>
517         * @return The {@code <ModuleNameOption>} dependency.
518         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
519         */
520        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
521        private org.apache.commons.cli.Option getModuleNameOption()
522        {
523            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
524            assert _d != null : "'ModuleNameOption' dependency not found.";
525            return _d;
526        }
527        /**
528         * Gets the {@code <NoClasspathResolutionOption>} dependency.
529         * <p>
530         *   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.
531         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
532         * </p>
533         * <dl>
534         *   <dt><b>Final:</b></dt><dd>No</dd>
535         * </dl>
536         * @return The {@code <NoClasspathResolutionOption>} dependency.
537         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
538         */
539        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
540        private org.apache.commons.cli.Option getNoClasspathResolutionOption()
541        {
542            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
543            assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
544            return _d;
545        }
546        /**
547         * Gets the {@code <NoModelProcessingOption>} dependency.
548         * <p>
549         *   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.
550         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
551         * </p>
552         * <dl>
553         *   <dt><b>Final:</b></dt><dd>No</dd>
554         * </dl>
555         * @return The {@code <NoModelProcessingOption>} dependency.
556         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
557         */
558        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
559        private org.apache.commons.cli.Option getNoModelProcessingOption()
560        {
561            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
562            assert _d != null : "'NoModelProcessingOption' dependency not found.";
563            return _d;
564        }
565        /**
566         * Gets the {@code <NoModelResourceValidation>} dependency.
567         * <p>
568         *   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.
569         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
570         * </p>
571         * <dl>
572         *   <dt><b>Final:</b></dt><dd>No</dd>
573         * </dl>
574         * @return The {@code <NoModelResourceValidation>} dependency.
575         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
576         */
577        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
578        private org.apache.commons.cli.Option getNoModelResourceValidation()
579        {
580            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" );
581            assert _d != null : "'NoModelResourceValidation' dependency not found.";
582            return _d;
583        }
584        /**
585         * Gets the {@code <NoModletResourceValidation>} dependency.
586         * <p>
587         *   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.
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 <NoModletResourceValidation>} dependency.
594         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
595         */
596        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
597        private org.apache.commons.cli.Option getNoModletResourceValidation()
598        {
599            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" );
600            assert _d != null : "'NoModletResourceValidation' dependency not found.";
601            return _d;
602        }
603        /**
604         * Gets the {@code <NoResourceProcessingOption>} dependency.
605         * <p>
606         *   This method returns the {@code <JOMC CLI No Resource File Processing Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
607         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
608         * </p>
609         * <dl>
610         *   <dt><b>Final:</b></dt><dd>No</dd>
611         * </dl>
612         * @return The {@code <NoResourceProcessingOption>} dependency.
613         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
614         */
615        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
616        private org.apache.commons.cli.Option getNoResourceProcessingOption()
617        {
618            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoResourceProcessingOption" );
619            assert _d != null : "'NoResourceProcessingOption' dependency not found.";
620            return _d;
621        }
622        /**
623         * Gets the {@code <OutputEncodingOption>} dependency.
624         * <p>
625         *   This method returns the {@code <JOMC CLI Output Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
626         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
627         * </p>
628         * <dl>
629         *   <dt><b>Final:</b></dt><dd>No</dd>
630         * </dl>
631         * @return The {@code <OutputEncodingOption>} dependency.
632         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
633         */
634        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
635        private org.apache.commons.cli.Option getOutputEncodingOption()
636        {
637            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
638            assert _d != null : "'OutputEncodingOption' dependency not found.";
639            return _d;
640        }
641        /**
642         * Gets the {@code <PlatformProviderLocationOption>} dependency.
643         * <p>
644         *   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.
645         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
646         * </p>
647         * <dl>
648         *   <dt><b>Final:</b></dt><dd>No</dd>
649         * </dl>
650         * @return The {@code <PlatformProviderLocationOption>} dependency.
651         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
652         */
653        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
654        private org.apache.commons.cli.Option getPlatformProviderLocationOption()
655        {
656            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" );
657            assert _d != null : "'PlatformProviderLocationOption' dependency not found.";
658            return _d;
659        }
660        /**
661         * Gets the {@code <ProviderLocationOption>} dependency.
662         * <p>
663         *   This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
664         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
665         * </p>
666         * <dl>
667         *   <dt><b>Final:</b></dt><dd>No</dd>
668         * </dl>
669         * @return The {@code <ProviderLocationOption>} dependency.
670         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
671         */
672        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
673        private org.apache.commons.cli.Option getProviderLocationOption()
674        {
675            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" );
676            assert _d != null : "'ProviderLocationOption' dependency not found.";
677            return _d;
678        }
679        /**
680         * Gets the {@code <ResourceDirectoryOption>} dependency.
681         * <p>
682         *   This method returns the {@code <JOMC CLI Resource Directory Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
683         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
684         * </p>
685         * <p><strong>Properties:</strong>
686         *   <table border="1" width="100%" cellpadding="3" cellspacing="0">
687         *     <tr class="TableSubHeadingColor">
688         *       <th align="left" scope="col" nowrap><b>Name</b></th>
689         *       <th align="left" scope="col" nowrap><b>Type</b></th>
690         *       <th align="left" scope="col" nowrap><b>Documentation</b></th>
691         *     </tr>
692         *     <tr class="TableRow">
693         *       <td align="left" valign="top" nowrap>{@code <required>}</td>
694         *       <td align="left" valign="top" nowrap>{@code boolean}</td>
695         *       <td align="left" valign="top"></td>
696         *     </tr>
697         *   </table>
698         * </p>
699         * <dl>
700         *   <dt><b>Final:</b></dt><dd>No</dd>
701         * </dl>
702         * @return The {@code <ResourceDirectoryOption>} dependency.
703         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
704         */
705        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
706        private org.apache.commons.cli.Option getResourceDirectoryOption()
707        {
708            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourceDirectoryOption" );
709            assert _d != null : "'ResourceDirectoryOption' dependency not found.";
710            return _d;
711        }
712        /**
713         * Gets the {@code <ResourceFileProcessorOption>} dependency.
714         * <p>
715         *   This method returns the {@code <JOMC CLI ResourceFileProcessor Class Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
716         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
717         * </p>
718         * <dl>
719         *   <dt><b>Final:</b></dt><dd>No</dd>
720         * </dl>
721         * @return The {@code <ResourceFileProcessorOption>} dependency.
722         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
723         */
724        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
725        private org.apache.commons.cli.Option getResourceFileProcessorOption()
726        {
727            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ResourceFileProcessorOption" );
728            assert _d != null : "'ResourceFileProcessorOption' dependency not found.";
729            return _d;
730        }
731        /**
732         * Gets the {@code <SpecificationOption>} dependency.
733         * <p>
734         *   This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
735         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
736         * </p>
737         * <dl>
738         *   <dt><b>Final:</b></dt><dd>No</dd>
739         * </dl>
740         * @return The {@code <SpecificationOption>} dependency.
741         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
742         */
743        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
744        private org.apache.commons.cli.Option getSpecificationOption()
745        {
746            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" );
747            assert _d != null : "'SpecificationOption' dependency not found.";
748            return _d;
749        }
750        /**
751         * Gets the {@code <TemplateEncodingOption>} dependency.
752         * <p>
753         *   This method returns the {@code <JOMC CLI Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
754         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
755         * </p>
756         * <dl>
757         *   <dt><b>Final:</b></dt><dd>No</dd>
758         * </dl>
759         * @return The {@code <TemplateEncodingOption>} dependency.
760         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
761         */
762        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
763        private org.apache.commons.cli.Option getTemplateEncodingOption()
764        {
765            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
766            assert _d != null : "'TemplateEncodingOption' dependency not found.";
767            return _d;
768        }
769        /**
770         * Gets the {@code <TemplateLocationOption>} dependency.
771         * <p>
772         *   This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
773         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
774         * </p>
775         * <dl>
776         *   <dt><b>Final:</b></dt><dd>No</dd>
777         * </dl>
778         * @return The {@code <TemplateLocationOption>} dependency.
779         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
780         */
781        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
782        private org.apache.commons.cli.Option getTemplateLocationOption()
783        {
784            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" );
785            assert _d != null : "'TemplateLocationOption' dependency not found.";
786            return _d;
787        }
788        /**
789         * Gets the {@code <TemplateProfileOption>} dependency.
790         * <p>
791         *   This method returns the {@code <JOMC CLI Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
792         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
793         * </p>
794         * <dl>
795         *   <dt><b>Final:</b></dt><dd>No</dd>
796         * </dl>
797         * @return The {@code <TemplateProfileOption>} dependency.
798         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
799         */
800        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
801        private org.apache.commons.cli.Option getTemplateProfileOption()
802        {
803            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" );
804            assert _d != null : "'TemplateProfileOption' dependency not found.";
805            return _d;
806        }
807        /**
808         * Gets the {@code <TransformerLocationOption>} dependency.
809         * <p>
810         *   This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2.
811         *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
812         * </p>
813         * <dl>
814         *   <dt><b>Final:</b></dt><dd>No</dd>
815         * </dl>
816         * @return The {@code <TransformerLocationOption>} dependency.
817         * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
818         */
819        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
820        private org.apache.commons.cli.Option getTransformerLocationOption()
821        {
822            final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
823            assert _d != null : "'TransformerLocationOption' dependency not found.";
824            return _d;
825        }
826        // </editor-fold>
827        // SECTION-END
828        // SECTION-START[Properties]
829        // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
830        /**
831         * Gets the value of the {@code <abbreviatedCommandName>} property.
832         * <p><dl>
833         *   <dt><b>Final:</b></dt><dd>No</dd>
834         * </dl></p>
835         * @return Abbreviated name of the command.
836         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
837         */
838        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
839        private java.lang.String getAbbreviatedCommandName()
840        {
841            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
842            assert _p != null : "'abbreviatedCommandName' property not found.";
843            return _p;
844        }
845        /**
846         * Gets the value of the {@code <applicationModlet>} property.
847         * <p><dl>
848         *   <dt><b>Final:</b></dt><dd>Yes</dd>
849         * </dl></p>
850         * @return Name of the 'shaded' application modlet.
851         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
852         */
853        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
854        private java.lang.String getApplicationModlet()
855        {
856            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" );
857            assert _p != null : "'applicationModlet' property not found.";
858            return _p;
859        }
860        /**
861         * Gets the value of the {@code <commandName>} property.
862         * <p><dl>
863         *   <dt><b>Final:</b></dt><dd>No</dd>
864         * </dl></p>
865         * @return Name of the command.
866         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
867         */
868        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
869        private java.lang.String getCommandName()
870        {
871            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
872            assert _p != null : "'commandName' property not found.";
873            return _p;
874        }
875        /**
876         * Gets the value of the {@code <modletExcludes>} property.
877         * <p><dl>
878         *   <dt><b>Final:</b></dt><dd>Yes</dd>
879         * </dl></p>
880         * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
881         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
882         */
883        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
884        private java.lang.String getModletExcludes()
885        {
886            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" );
887            assert _p != null : "'modletExcludes' property not found.";
888            return _p;
889        }
890        /**
891         * Gets the value of the {@code <providerExcludes>} property.
892         * <p><dl>
893         *   <dt><b>Final:</b></dt><dd>Yes</dd>
894         * </dl></p>
895         * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}.
896         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
897         */
898        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
899        private java.lang.String getProviderExcludes()
900        {
901            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" );
902            assert _p != null : "'providerExcludes' property not found.";
903            return _p;
904        }
905        /**
906         * Gets the value of the {@code <schemaExcludes>} property.
907         * <p><dl>
908         *   <dt><b>Final:</b></dt><dd>Yes</dd>
909         * </dl></p>
910         * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
911         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
912         */
913        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
914        private java.lang.String getSchemaExcludes()
915        {
916            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" );
917            assert _p != null : "'schemaExcludes' property not found.";
918            return _p;
919        }
920        /**
921         * Gets the value of the {@code <serviceExcludes>} property.
922         * <p><dl>
923         *   <dt><b>Final:</b></dt><dd>Yes</dd>
924         * </dl></p>
925         * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
926         * @throws org.jomc.ObjectManagementException if getting the property instance fails.
927         */
928        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
929        private java.lang.String getServiceExcludes()
930        {
931            final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" );
932            assert _p != null : "'serviceExcludes' property not found.";
933            return _p;
934        }
935        // </editor-fold>
936        // SECTION-END
937        // SECTION-START[Messages]
938        // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
939        /**
940         * Gets the text of the {@code <applicationTitle>} message.
941         * <p><dl>
942         *   <dt><b>Languages:</b></dt>
943         *     <dd>English (default)</dd>
944         *   <dt><b>Final:</b></dt><dd>No</dd>
945         * </dl></p>
946         * @param locale The locale of the message to return.
947         * @return The text of the {@code <applicationTitle>} message for {@code locale}.
948         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
949         */
950        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
951        private String getApplicationTitle( final java.util.Locale locale )
952        {
953            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
954            assert _m != null : "'applicationTitle' message not found.";
955            return _m;
956        }
957        /**
958         * Gets the text of the {@code <cannotProcessMessage>} message.
959         * <p><dl>
960         *   <dt><b>Languages:</b></dt>
961         *     <dd>English (default)</dd>
962         *     <dd>Deutsch</dd>
963         *   <dt><b>Final:</b></dt><dd>No</dd>
964         * </dl></p>
965         * @param locale The locale of the message to return.
966         * @param itemInfo Format argument.
967         * @param detailMessage Format argument.
968         * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}.
969         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
970         */
971        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
972        private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
973        {
974            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage );
975            assert _m != null : "'cannotProcessMessage' message not found.";
976            return _m;
977        }
978        /**
979         * Gets the text of the {@code <classpathElementInfo>} message.
980         * <p><dl>
981         *   <dt><b>Languages:</b></dt>
982         *     <dd>English (default)</dd>
983         *     <dd>Deutsch</dd>
984         *   <dt><b>Final:</b></dt><dd>No</dd>
985         * </dl></p>
986         * @param locale The locale of the message to return.
987         * @param classpathElement Format argument.
988         * @return The text of the {@code <classpathElementInfo>} message for {@code locale}.
989         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
990         */
991        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
992        private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
993        {
994            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement );
995            assert _m != null : "'classpathElementInfo' message not found.";
996            return _m;
997        }
998        /**
999         * Gets the text of the {@code <classpathElementNotFoundWarning>} message.
1000         * <p><dl>
1001         *   <dt><b>Languages:</b></dt>
1002         *     <dd>English (default)</dd>
1003         *     <dd>Deutsch</dd>
1004         *   <dt><b>Final:</b></dt><dd>No</dd>
1005         * </dl></p>
1006         * @param locale The locale of the message to return.
1007         * @param fileName Format argument.
1008         * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}.
1009         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1010         */
1011        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1012        private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1013        {
1014            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName );
1015            assert _m != null : "'classpathElementNotFoundWarning' message not found.";
1016            return _m;
1017        }
1018        /**
1019         * Gets the text of the {@code <commandFailureMessage>} 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 toolName Format argument.
1028         * @return The text of the {@code <commandFailureMessage>} message for {@code locale}.
1029         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1030         */
1031        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1032        private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
1033        {
1034            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName );
1035            assert _m != null : "'commandFailureMessage' message not found.";
1036            return _m;
1037        }
1038        /**
1039         * Gets the text of the {@code <commandInfoMessage>} message.
1040         * <p><dl>
1041         *   <dt><b>Languages:</b></dt>
1042         *     <dd>English (default)</dd>
1043         *     <dd>Deutsch</dd>
1044         *   <dt><b>Final:</b></dt><dd>No</dd>
1045         * </dl></p>
1046         * @param locale The locale of the message to return.
1047         * @param toolName Format argument.
1048         * @return The text of the {@code <commandInfoMessage>} message for {@code locale}.
1049         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1050         */
1051        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1052        private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
1053        {
1054            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName );
1055            assert _m != null : "'commandInfoMessage' message not found.";
1056            return _m;
1057        }
1058        /**
1059         * Gets the text of the {@code <commandSuccessMessage>} message.
1060         * <p><dl>
1061         *   <dt><b>Languages:</b></dt>
1062         *     <dd>English (default)</dd>
1063         *     <dd>Deutsch</dd>
1064         *   <dt><b>Final:</b></dt><dd>No</dd>
1065         * </dl></p>
1066         * @param locale The locale of the message to return.
1067         * @param toolName Format argument.
1068         * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}.
1069         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1070         */
1071        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1072        private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
1073        {
1074            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName );
1075            assert _m != null : "'commandSuccessMessage' message not found.";
1076            return _m;
1077        }
1078        /**
1079         * Gets the text of the {@code <defaultLogLevelInfo>} message.
1080         * <p><dl>
1081         *   <dt><b>Languages:</b></dt>
1082         *     <dd>English (default)</dd>
1083         *     <dd>Deutsch</dd>
1084         *   <dt><b>Final:</b></dt><dd>No</dd>
1085         * </dl></p>
1086         * @param locale The locale of the message to return.
1087         * @param defaultLogLevel Format argument.
1088         * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}.
1089         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1090         */
1091        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1092        private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
1093        {
1094            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
1095            assert _m != null : "'defaultLogLevelInfo' message not found.";
1096            return _m;
1097        }
1098        /**
1099         * Gets the text of the {@code <disabledMessage>} message.
1100         * <p><dl>
1101         *   <dt><b>Languages:</b></dt>
1102         *     <dd>English (default)</dd>
1103         *     <dd>Deutsch</dd>
1104         *   <dt><b>Final:</b></dt><dd>No</dd>
1105         * </dl></p>
1106         * @param locale The locale of the message to return.
1107         * @return The text of the {@code <disabledMessage>} message for {@code locale}.
1108         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1109         */
1110        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1111        private String getDisabledMessage( final java.util.Locale locale )
1112        {
1113            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale );
1114            assert _m != null : "'disabledMessage' message not found.";
1115            return _m;
1116        }
1117        /**
1118         * Gets the text of the {@code <documentFileInfo>} message.
1119         * <p><dl>
1120         *   <dt><b>Languages:</b></dt>
1121         *     <dd>English (default)</dd>
1122         *     <dd>Deutsch</dd>
1123         *   <dt><b>Final:</b></dt><dd>No</dd>
1124         * </dl></p>
1125         * @param locale The locale of the message to return.
1126         * @param documentFile Format argument.
1127         * @return The text of the {@code <documentFileInfo>} message for {@code locale}.
1128         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1129         */
1130        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1131        private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
1132        {
1133            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile );
1134            assert _m != null : "'documentFileInfo' message not found.";
1135            return _m;
1136        }
1137        /**
1138         * Gets the text of the {@code <documentFileNotFoundWarning>} message.
1139         * <p><dl>
1140         *   <dt><b>Languages:</b></dt>
1141         *     <dd>English (default)</dd>
1142         *     <dd>Deutsch</dd>
1143         *   <dt><b>Final:</b></dt><dd>No</dd>
1144         * </dl></p>
1145         * @param locale The locale of the message to return.
1146         * @param fileName Format argument.
1147         * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}.
1148         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1149         */
1150        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1151        private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
1152        {
1153            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName );
1154            assert _m != null : "'documentFileNotFoundWarning' message not found.";
1155            return _m;
1156        }
1157        /**
1158         * Gets the text of the {@code <excludedModletInfo>} message.
1159         * <p><dl>
1160         *   <dt><b>Languages:</b></dt>
1161         *     <dd>English (default)</dd>
1162         *     <dd>Deutsch</dd>
1163         *   <dt><b>Final:</b></dt><dd>No</dd>
1164         * </dl></p>
1165         * @param locale The locale of the message to return.
1166         * @param resourceName Format argument.
1167         * @param modletIdentifier Format argument.
1168         * @return The text of the {@code <excludedModletInfo>} message for {@code locale}.
1169         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1170         */
1171        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1172        private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
1173        {
1174            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier );
1175            assert _m != null : "'excludedModletInfo' message not found.";
1176            return _m;
1177        }
1178        /**
1179         * Gets the text of the {@code <excludedProviderInfo>} message.
1180         * <p><dl>
1181         *   <dt><b>Languages:</b></dt>
1182         *     <dd>English (default)</dd>
1183         *     <dd>Deutsch</dd>
1184         *   <dt><b>Final:</b></dt><dd>No</dd>
1185         * </dl></p>
1186         * @param locale The locale of the message to return.
1187         * @param resourceName Format argument.
1188         * @param providerName Format argument.
1189         * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}.
1190         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1191         */
1192        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1193        private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
1194        {
1195            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName );
1196            assert _m != null : "'excludedProviderInfo' message not found.";
1197            return _m;
1198        }
1199        /**
1200         * Gets the text of the {@code <excludedSchemaInfo>} message.
1201         * <p><dl>
1202         *   <dt><b>Languages:</b></dt>
1203         *     <dd>English (default)</dd>
1204         *     <dd>Deutsch</dd>
1205         *   <dt><b>Final:</b></dt><dd>No</dd>
1206         * </dl></p>
1207         * @param locale The locale of the message to return.
1208         * @param resourceName Format argument.
1209         * @param contextId Format argument.
1210         * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}.
1211         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1212         */
1213        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1214        private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
1215        {
1216            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId );
1217            assert _m != null : "'excludedSchemaInfo' message not found.";
1218            return _m;
1219        }
1220        /**
1221         * Gets the text of the {@code <excludedServiceInfo>} message.
1222         * <p><dl>
1223         *   <dt><b>Languages:</b></dt>
1224         *     <dd>English (default)</dd>
1225         *     <dd>Deutsch</dd>
1226         *   <dt><b>Final:</b></dt><dd>No</dd>
1227         * </dl></p>
1228         * @param locale The locale of the message to return.
1229         * @param resourceName Format argument.
1230         * @param serviceName Format argument.
1231         * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}.
1232         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1233         */
1234        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1235        private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
1236        {
1237            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName );
1238            assert _m != null : "'excludedServiceInfo' message not found.";
1239            return _m;
1240        }
1241        /**
1242         * Gets the text of the {@code <failedCreatingObjectMessage>} message.
1243         * <p><dl>
1244         *   <dt><b>Languages:</b></dt>
1245         *     <dd>English (default)</dd>
1246         *     <dd>Deutsch</dd>
1247         *   <dt><b>Final:</b></dt><dd>No</dd>
1248         * </dl></p>
1249         * @param locale The locale of the message to return.
1250         * @param objectInfo Format argument.
1251         * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}.
1252         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1253         */
1254        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1255        private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
1256        {
1257            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo );
1258            assert _m != null : "'failedCreatingObjectMessage' message not found.";
1259            return _m;
1260        }
1261        /**
1262         * Gets the text of the {@code <implementationNotFoundWarning>} message.
1263         * <p><dl>
1264         *   <dt><b>Languages:</b></dt>
1265         *     <dd>English (default)</dd>
1266         *     <dd>Deutsch</dd>
1267         *   <dt><b>Final:</b></dt><dd>Yes</dd>
1268         * </dl></p>
1269         * @param locale The locale of the message to return.
1270         * @param implementationIdentifier Format argument.
1271         * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}.
1272         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1273         */
1274        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1275        private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
1276        {
1277            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier );
1278            assert _m != null : "'implementationNotFoundWarning' message not found.";
1279            return _m;
1280        }
1281        /**
1282         * Gets the text of the {@code <invalidModelMessage>} message.
1283         * <p><dl>
1284         *   <dt><b>Languages:</b></dt>
1285         *     <dd>English (default)</dd>
1286         *     <dd>Deutsch</dd>
1287         *   <dt><b>Final:</b></dt><dd>No</dd>
1288         * </dl></p>
1289         * @param locale The locale of the message to return.
1290         * @param modelIdentifier Format argument.
1291         * @return The text of the {@code <invalidModelMessage>} message for {@code locale}.
1292         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1293         */
1294        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1295        private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
1296        {
1297            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier );
1298            assert _m != null : "'invalidModelMessage' message not found.";
1299            return _m;
1300        }
1301        /**
1302         * Gets the text of the {@code <longDescriptionMessage>} message.
1303         * <p><dl>
1304         *   <dt><b>Languages:</b></dt>
1305         *     <dd>English (default)</dd>
1306         *     <dd>Deutsch</dd>
1307         *   <dt><b>Final:</b></dt><dd>No</dd>
1308         * </dl></p>
1309         * @param locale The locale of the message to return.
1310         * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}.
1311         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1312         */
1313        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1314        private String getLongDescriptionMessage( final java.util.Locale locale )
1315        {
1316            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale );
1317            assert _m != null : "'longDescriptionMessage' message not found.";
1318            return _m;
1319        }
1320        /**
1321         * Gets the text of the {@code <moduleNotFoundWarning>} message.
1322         * <p><dl>
1323         *   <dt><b>Languages:</b></dt>
1324         *     <dd>English (default)</dd>
1325         *     <dd>Deutsch</dd>
1326         *   <dt><b>Final:</b></dt><dd>Yes</dd>
1327         * </dl></p>
1328         * @param locale The locale of the message to return.
1329         * @param moduleName Format argument.
1330         * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}.
1331         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1332         */
1333        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1334        private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
1335        {
1336            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName );
1337            assert _m != null : "'moduleNotFoundWarning' message not found.";
1338            return _m;
1339        }
1340        /**
1341         * Gets the text of the {@code <readingMessage>} message.
1342         * <p><dl>
1343         *   <dt><b>Languages:</b></dt>
1344         *     <dd>English (default)</dd>
1345         *     <dd>Deutsch</dd>
1346         *   <dt><b>Final:</b></dt><dd>No</dd>
1347         * </dl></p>
1348         * @param locale The locale of the message to return.
1349         * @param locationInfo Format argument.
1350         * @return The text of the {@code <readingMessage>} message for {@code locale}.
1351         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1352         */
1353        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1354        private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
1355        {
1356            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo );
1357            assert _m != null : "'readingMessage' message not found.";
1358            return _m;
1359        }
1360        /**
1361         * Gets the text of the {@code <separator>} message.
1362         * <p><dl>
1363         *   <dt><b>Languages:</b></dt>
1364         *     <dd>English (default)</dd>
1365         *   <dt><b>Final:</b></dt><dd>No</dd>
1366         * </dl></p>
1367         * @param locale The locale of the message to return.
1368         * @return The text of the {@code <separator>} message for {@code locale}.
1369         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1370         */
1371        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1372        private String getSeparator( final java.util.Locale locale )
1373        {
1374            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
1375            assert _m != null : "'separator' message not found.";
1376            return _m;
1377        }
1378        /**
1379         * Gets the text of the {@code <shortDescriptionMessage>} message.
1380         * <p><dl>
1381         *   <dt><b>Languages:</b></dt>
1382         *     <dd>English (default)</dd>
1383         *     <dd>Deutsch</dd>
1384         *   <dt><b>Final:</b></dt><dd>No</dd>
1385         * </dl></p>
1386         * @param locale The locale of the message to return.
1387         * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}.
1388         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1389         */
1390        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1391        private String getShortDescriptionMessage( final java.util.Locale locale )
1392        {
1393            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale );
1394            assert _m != null : "'shortDescriptionMessage' message not found.";
1395            return _m;
1396        }
1397        /**
1398         * Gets the text of the {@code <specificationNotFoundWarning>} message.
1399         * <p><dl>
1400         *   <dt><b>Languages:</b></dt>
1401         *     <dd>English (default)</dd>
1402         *     <dd>Deutsch</dd>
1403         *   <dt><b>Final:</b></dt><dd>Yes</dd>
1404         * </dl></p>
1405         * @param locale The locale of the message to return.
1406         * @param specificationIdentifier Format argument.
1407         * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}.
1408         * @throws org.jomc.ObjectManagementException if getting the message instance fails.
1409         */
1410        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1411        private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
1412        {
1413            final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier );
1414            assert _m != null : "'specificationNotFoundWarning' message not found.";
1415            return _m;
1416        }
1417        // </editor-fold>
1418        // SECTION-END
1419        // SECTION-START[Generated Command]
1420        // <editor-fold defaultstate="collapsed" desc=" Generated Options ">
1421        /**
1422         * Gets the options of the command.
1423         * <p><strong>Options:</strong>
1424         *   <table border="1" width="100%" cellpadding="3" cellspacing="0">
1425         *     <tr class="TableSubHeadingColor">
1426         *       <th align="left" scope="col" nowrap><b>Specification</b></th>
1427         *       <th align="left" scope="col" nowrap><b>Implementation</b></th>
1428         *     </tr>
1429         *     <tr class="TableRow">
1430         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1431         *       <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td>
1432         *     </tr>
1433         *     <tr class="TableRow">
1434         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1435         *       <td align="left" valign="top" nowrap>JOMC CLI Country Option</td>
1436         *     </tr>
1437         *     <tr class="TableRow">
1438         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1439         *       <td align="left" valign="top" nowrap>JOMC CLI Default Template Profile Option</td>
1440         *     </tr>
1441         *     <tr class="TableRow">
1442         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1443         *       <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td>
1444         *     </tr>
1445         *     <tr class="TableRow">
1446         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1447         *       <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td>
1448         *     </tr>
1449         *     <tr class="TableRow">
1450         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1451         *       <td align="left" valign="top" nowrap>JOMC CLI Indentation String Option</td>
1452         *     </tr>
1453         *     <tr class="TableRow">
1454         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1455         *       <td align="left" valign="top" nowrap>JOMC CLI Input Encoding Option</td>
1456         *     </tr>
1457         *     <tr class="TableRow">
1458         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1459         *       <td align="left" valign="top" nowrap>JOMC CLI Language Option</td>
1460         *     </tr>
1461         *     <tr class="TableRow">
1462         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1463         *       <td align="left" valign="top" nowrap>JOMC CLI Line Separator Option</td>
1464         *     </tr>
1465         *     <tr class="TableRow">
1466         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1467         *       <td align="left" valign="top" nowrap>JOMC CLI Locale Variant Option</td>
1468         *     </tr>
1469         *     <tr class="TableRow">
1470         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1471         *       <td align="left" valign="top" nowrap>JOMC CLI ModelContextFactory Class Name Option</td>
1472         *     </tr>
1473         *     <tr class="TableRow">
1474         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1475         *       <td align="left" valign="top" nowrap>JOMC CLI Model Option</td>
1476         *     </tr>
1477         *     <tr class="TableRow">
1478         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1479         *       <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td>
1480         *     </tr>
1481         *     <tr class="TableRow">
1482         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1483         *       <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td>
1484         *     </tr>
1485         *     <tr class="TableRow">
1486         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1487         *       <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td>
1488         *     </tr>
1489         *     <tr class="TableRow">
1490         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1491         *       <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td>
1492         *     </tr>
1493         *     <tr class="TableRow">
1494         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1495         *       <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td>
1496         *     </tr>
1497         *     <tr class="TableRow">
1498         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1499         *       <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td>
1500         *     </tr>
1501         *     <tr class="TableRow">
1502         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1503         *       <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td>
1504         *     </tr>
1505         *     <tr class="TableRow">
1506         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1507         *       <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td>
1508         *     </tr>
1509         *     <tr class="TableRow">
1510         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1511         *       <td align="left" valign="top" nowrap>JOMC CLI No Resource File Processing Option</td>
1512         *     </tr>
1513         *     <tr class="TableRow">
1514         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1515         *       <td align="left" valign="top" nowrap>JOMC CLI Output Encoding Option</td>
1516         *     </tr>
1517         *     <tr class="TableRow">
1518         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1519         *       <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td>
1520         *     </tr>
1521         *     <tr class="TableRow">
1522         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1523         *       <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td>
1524         *     </tr>
1525         *     <tr class="TableRow">
1526         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1527         *       <td align="left" valign="top" nowrap>JOMC CLI Resource Directory Option</td>
1528         *     </tr>
1529         *     <tr class="TableRow">
1530         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1531         *       <td align="left" valign="top" nowrap>JOMC CLI ResourceFileProcessor Class Name Option</td>
1532         *     </tr>
1533         *     <tr class="TableRow">
1534         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1535         *       <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td>
1536         *     </tr>
1537         *     <tr class="TableRow">
1538         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1539         *       <td align="left" valign="top" nowrap>JOMC CLI Template Encoding Option</td>
1540         *     </tr>
1541         *     <tr class="TableRow">
1542         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1543         *       <td align="left" valign="top" nowrap>JOMC CLI Template Location Option</td>
1544         *     </tr>
1545         *     <tr class="TableRow">
1546         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1547         *       <td align="left" valign="top" nowrap>JOMC CLI Template Profile Option</td>
1548         *     </tr>
1549         *     <tr class="TableRow">
1550         *       <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
1551         *       <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td>
1552         *     </tr>
1553         *   </table>
1554         * </p>
1555         * @return The options of the command.
1556         */
1557        @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" )
1558        @Override
1559        public org.apache.commons.cli.Options getOptions()
1560        {
1561            final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
1562            options.addOption( this.getClasspathOption() );
1563            options.addOption( this.getCountryOption() );
1564            options.addOption( this.getDefaultTemplateProfileOption() );
1565            options.addOption( this.getDocumentsOption() );
1566            options.addOption( this.getImplementationOption() );
1567            options.addOption( this.getIndentationStringOption() );
1568            options.addOption( this.getInputEncodingOption() );
1569            options.addOption( this.getLanguageOption() );
1570            options.addOption( this.getLineSeparatorOption() );
1571            options.addOption( this.getLocaleVariantOption() );
1572            options.addOption( this.getModelContextFactoryOption() );
1573            options.addOption( this.getModelOption() );
1574            options.addOption( this.getModletLocationOption() );
1575            options.addOption( this.getModletSchemaSystemIdOption() );
1576            options.addOption( this.getModuleLocationOption() );
1577            options.addOption( this.getModuleNameOption() );
1578            options.addOption( this.getNoClasspathResolutionOption() );
1579            options.addOption( this.getNoModelProcessingOption() );
1580            options.addOption( this.getNoModelResourceValidation() );
1581            options.addOption( this.getNoModletResourceValidation() );
1582            options.addOption( this.getNoResourceProcessingOption() );
1583            options.addOption( this.getOutputEncodingOption() );
1584            options.addOption( this.getPlatformProviderLocationOption() );
1585            options.addOption( this.getProviderLocationOption() );
1586            options.addOption( this.getResourceDirectoryOption() );
1587            options.addOption( this.getResourceFileProcessorOption() );
1588            options.addOption( this.getSpecificationOption() );
1589            options.addOption( this.getTemplateEncodingOption() );
1590            options.addOption( this.getTemplateLocationOption() );
1591            options.addOption( this.getTemplateProfileOption() );
1592            options.addOption( this.getTransformerLocationOption() );
1593            return options;
1594        }
1595        // </editor-fold>
1596        // SECTION-END
1597    }