AbstractJomcToolCommand.java

  1. // SECTION-START[License Header]
  2. // <editor-fold defaultstate="collapsed" desc=" Generated License ">
  3. /*
  4.  * Java Object Management and Configuration
  5.  * Copyright (C) Christian Schulte <cs@schulte.it>, 2005-206
  6.  * All rights reserved.
  7.  *
  8.  * Redistribution and use in source and binary forms, with or without
  9.  * modification, are permitted provided that the following conditions
  10.  * are met:
  11.  *
  12.  *   o Redistributions of source code must retain the above copyright
  13.  *     notice, this list of conditions and the following disclaimer.
  14.  *
  15.  *   o Redistributions in binary form must reproduce the above copyright
  16.  *     notice, this list of conditions and the following disclaimer in
  17.  *     the documentation and/or other materials provided with the
  18.  *     distribution.
  19.  *
  20.  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  21.  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  22.  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
  23.  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
  24.  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  25.  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  26.  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  27.  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  28.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  29.  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30.  *
  31.  * $JOMC: AbstractJomcToolCommand.java 5061 2015-05-31 13:20:40Z schulte $
  32.  *
  33.  */
  34. // </editor-fold>
  35. // SECTION-END
  36. package org.jomc.cli.commands;

  37. import java.io.File;
  38. import java.net.MalformedURLException;
  39. import java.net.URL;
  40. import java.util.Locale;
  41. import java.util.logging.Level;
  42. import org.apache.commons.cli.CommandLine;
  43. import org.apache.commons.lang.StringEscapeUtils;
  44. import org.apache.commons.lang.StringUtils;
  45. import org.jomc.model.Implementation;
  46. import org.jomc.model.Module;
  47. import org.jomc.model.Modules;
  48. import org.jomc.model.Specification;
  49. import org.jomc.model.modlet.ModelHelper;
  50. import org.jomc.modlet.Model;
  51. import org.jomc.tools.JomcTool;

  52. // SECTION-START[Documentation]
  53. // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
  54. /**
  55.  * JOMC ⁑ CLI ⁑ {@code JomcTool} based command implementation.
  56.  *
  57.  * <dl>
  58.  *   <dt><b>Identifier:</b></dt><dd>JOMC ⁑ CLI ⁑ JomcTool Command</dd>
  59.  *   <dt><b>Name:</b></dt><dd>JOMC ⁑ CLI ⁑ JomcTool Command</dd>
  60.  *   <dt><b>Specifications:</b></dt>
  61.  *     <dd>JOMC ⁑ CLI ⁑ Command @ 1.0</dd>
  62.  *   <dt><b>Abstract:</b></dt><dd>Yes</dd>
  63.  *   <dt><b>Final:</b></dt><dd>No</dd>
  64.  *   <dt><b>Stateless:</b></dt><dd>No</dd>
  65.  * </dl>
  66.  *
  67.  * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 1.2
  68.  * @version 1.9
  69.  */
  70. // </editor-fold>
  71. // SECTION-END
  72. // SECTION-START[Annotations]
  73. // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
  74. @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  75. // </editor-fold>
  76. // SECTION-END
  77. public abstract class AbstractJomcToolCommand extends AbstractModelCommand
  78. {
  79.     // SECTION-START[Command]
  80.     // SECTION-END
  81.     // SECTION-START[AbstractJomcToolCommand]

  82.     /** {@inheritDoc} */
  83.     @Override
  84.     @SuppressWarnings( "deprecation" )
  85.     protected void postExecuteCommand( final CommandLine commandLine ) throws CommandExecutionException
  86.     {
  87.         if ( commandLine == null )
  88.         {
  89.             throw new NullPointerException( "commandLine" );
  90.         }

  91.         JomcTool.setDefaultTemplateProfile( null );

  92.         super.postExecuteCommand( commandLine );
  93.     }

  94.     /**
  95.      * Creates a new object for a given class name and type.
  96.      *
  97.      * @param className The name of the class to create an object of.
  98.      * @param type The class of the type of object to create.
  99.      * @param <T> The type of the object to create.
  100.      *
  101.      * @return A new instance of the class with name {@code className}.
  102.      *
  103.      * @throws NullPointerException if {@code className} or {@code type} is {@code null}.
  104.      * @throws CommandExecutionException if creating a new object fails.
  105.      */
  106.     protected <T> T createObject( final String className, final Class<T> type ) throws CommandExecutionException
  107.     {
  108.         if ( className == null )
  109.         {
  110.             throw new NullPointerException( "className" );
  111.         }
  112.         if ( type == null )
  113.         {
  114.             throw new NullPointerException( "type" );
  115.         }

  116.         try
  117.         {
  118.             return Class.forName( className ).asSubclass( type ).newInstance();
  119.         }
  120.         catch ( final InstantiationException e )
  121.         {
  122.             throw new CommandExecutionException(
  123.                 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );

  124.         }
  125.         catch ( final IllegalAccessException e )
  126.         {
  127.             throw new CommandExecutionException(
  128.                 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );

  129.         }
  130.         catch ( final ClassNotFoundException e )
  131.         {
  132.             throw new CommandExecutionException(
  133.                 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );

  134.         }
  135.         catch ( final ClassCastException e )
  136.         {
  137.             throw new CommandExecutionException(
  138.                 this.getFailedCreatingObjectMessage( this.getLocale(), className ), e );

  139.         }
  140.     }

  141.     /**
  142.      * Creates a new {@code JomcTool} object for a given class name and type.
  143.      *
  144.      * @param commandLine The {@code CommandLine} to configure the new {@code JomcTool} object with.
  145.      * @param className The name of the class to create an object of.
  146.      * @param type The class of the type of object to create.
  147.      * @param <T> The type of the object to create.
  148.      *
  149.      * @return A new instance of the class with name {@code className} configured using {@code commandLine}.
  150.      *
  151.      * @throws NullPointerException if {@code commandLine}, {@code className} or {@code type} is {@code null}.
  152.      * @throws CommandExecutionException if creating a new object fails.
  153.      *
  154.      * @see #createObject(java.lang.String, java.lang.Class)
  155.      */
  156.     @SuppressWarnings( "deprecation" )
  157.     protected <T extends JomcTool> T createJomcTool( final String className, final Class<T> type,
  158.                                                      final CommandLine commandLine ) throws CommandExecutionException
  159.     {
  160.         if ( commandLine == null )
  161.         {
  162.             throw new NullPointerException( "commandLine" );
  163.         }
  164.         if ( className == null )
  165.         {
  166.             throw new NullPointerException( "className" );
  167.         }
  168.         if ( type == null )
  169.         {
  170.             throw new NullPointerException( "type" );
  171.         }

  172.         final T tool = this.createObject( className, type );
  173.         tool.setLogLevel( this.getLogLevel() );
  174.         tool.setLocale( this.getLocale( commandLine ) );
  175.         tool.getListeners().add( new JomcTool.Listener()
  176.         {

  177.             @Override
  178.             public void onLog( final Level level, final String message, final Throwable throwable )
  179.             {
  180.                 super.onLog( level, message, throwable );
  181.                 log( level, message, throwable );
  182.             }

  183.         } );

  184.         if ( commandLine.hasOption( this.getTemplateEncodingOption().getOpt() ) )
  185.         {
  186.             this.log( Level.WARNING, this.getDeprecatedOptionMessage(
  187.                 this.getLocale(), this.getTemplateEncodingOption().getLongOpt(),
  188.                 this.getDefaultTemplateEncodingOption().getLongOpt() ), null );

  189.             tool.setDefaultTemplateEncoding( commandLine.getOptionValue(
  190.                 this.getTemplateEncodingOption().getOpt() ) );

  191.         }
  192.         else if ( commandLine.hasOption( this.getDefaultTemplateEncodingOption().getOpt() ) )
  193.         {
  194.             tool.setDefaultTemplateEncoding( commandLine.getOptionValue(
  195.                 this.getDefaultTemplateEncodingOption().getOpt() ) );

  196.         }

  197.         if ( commandLine.hasOption( this.getDefaultTemplateProfileOption().getOpt() ) )
  198.         {
  199.             tool.setDefaultTemplateProfile(
  200.                 commandLine.getOptionValue( this.getDefaultTemplateProfileOption().getOpt() ) );

  201.         }
  202.         if ( commandLine.hasOption( this.getTemplateProfileOption().getOpt() ) )
  203.         {
  204.             tool.setTemplateProfile( commandLine.getOptionValue( this.getTemplateProfileOption().getOpt() ) );
  205.         }
  206.         if ( commandLine.hasOption( this.getTemplateLocationOption().getOpt() ) )
  207.         {
  208.             try
  209.             {
  210.                 tool.setTemplateLocation(
  211.                     new URL( commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ) );

  212.             }
  213.             catch ( final MalformedURLException e )
  214.             {
  215.                 this.log( Level.FINER, null, e );

  216.                 try
  217.                 {
  218.                     tool.setTemplateLocation( new File(
  219.                         commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ).toURI().toURL() );

  220.                 }
  221.                 catch ( final MalformedURLException e2 )
  222.                 {
  223.                     throw new CommandExecutionException( getExceptionMessage( e2 ), e2 );
  224.                 }
  225.             }
  226.         }
  227.         if ( commandLine.hasOption( this.getInputEncodingOption().getOpt() ) )
  228.         {
  229.             tool.setInputEncoding( commandLine.getOptionValue( this.getInputEncodingOption().getOpt() ) );
  230.         }
  231.         if ( commandLine.hasOption( this.getOutputEncodingOption().getOpt() ) )
  232.         {
  233.             tool.setOutputEncoding( commandLine.getOptionValue( this.getOutputEncodingOption().getOpt() ) );
  234.         }
  235.         if ( commandLine.hasOption( this.getIndentationStringOption().getOpt() ) )
  236.         {
  237.             tool.setIndentation( StringEscapeUtils.unescapeJava(
  238.                 commandLine.getOptionValue( this.getIndentationStringOption().getOpt() ) ) );

  239.         }
  240.         if ( commandLine.hasOption( this.getLineSeparatorOption().getOpt() ) )
  241.         {
  242.             tool.setLineSeparator( StringEscapeUtils.unescapeJava(
  243.                 commandLine.getOptionValue( this.getLineSeparatorOption().getOpt() ) ) );

  244.         }

  245.         return tool;
  246.     }

  247.     /**
  248.      * Gets the specification to process from a given model.
  249.      *
  250.      * @param commandLine The command line specifying the specification to process.
  251.      * @param model The model to get the specification to process from.
  252.      *
  253.      * @return The specification to process or {@code null}.
  254.      *
  255.      * @throws NullPointerException if {@code commandLine} or {@code model} is {@code null}.
  256.      */
  257.     protected final Specification getSpecification( final CommandLine commandLine, final Model model )
  258.     {
  259.         if ( commandLine == null )
  260.         {
  261.             throw new NullPointerException( "commandLine" );
  262.         }
  263.         if ( model == null )
  264.         {
  265.             throw new NullPointerException( "model" );
  266.         }

  267.         Specification s = null;

  268.         if ( commandLine.hasOption( this.getSpecificationOption().getOpt() ) )
  269.         {
  270.             final String identifier = commandLine.getOptionValue( this.getSpecificationOption().getOpt() );
  271.             final Modules modules = ModelHelper.getModules( model );

  272.             if ( modules != null )
  273.             {
  274.                 s = modules.getSpecification( identifier );
  275.             }

  276.             if ( s == null )
  277.             {
  278.                 this.log( Level.WARNING, this.getSpecificationNotFoundWarning( this.getLocale(), identifier ), null );
  279.             }
  280.         }

  281.         return s;
  282.     }

  283.     /**
  284.      * Gets the implementation to process from a given model.
  285.      *
  286.      * @param commandLine The command line specifying the implementation to process.
  287.      * @param model The model to get the implementation to process from.
  288.      *
  289.      * @return The implementation to process or {@code null}.
  290.      *
  291.      * @throws NullPointerException if {@code commandLine} or {@code model} is {@code null}.
  292.      */
  293.     protected final Implementation getImplementation( final CommandLine commandLine, final Model model )
  294.     {
  295.         if ( commandLine == null )
  296.         {
  297.             throw new NullPointerException( "commandLine" );
  298.         }
  299.         if ( model == null )
  300.         {
  301.             throw new NullPointerException( "model" );
  302.         }

  303.         Implementation i = null;

  304.         if ( commandLine.hasOption( this.getImplementationOption().getOpt() ) )
  305.         {
  306.             final String identifier = commandLine.getOptionValue( this.getImplementationOption().getOpt() );
  307.             final Modules modules = ModelHelper.getModules( model );

  308.             if ( modules != null )
  309.             {
  310.                 i = modules.getImplementation( identifier );
  311.             }

  312.             if ( i == null )
  313.             {
  314.                 this.log( Level.WARNING, this.getImplementationNotFoundWarning( this.getLocale(), identifier ), null );
  315.             }
  316.         }

  317.         return i;
  318.     }

  319.     /**
  320.      * Gets the module to process from a given model.
  321.      *
  322.      * @param commandLine The command line specifying the implementation to process.
  323.      * @param model The model to get the module to process from.
  324.      *
  325.      * @return The module to process or {@code null}.
  326.      *
  327.      * @throws NullPointerException if {@code model} is {@code null}.
  328.      */
  329.     protected final Module getModule( final CommandLine commandLine, final Model model )
  330.     {
  331.         if ( commandLine == null )
  332.         {
  333.             throw new NullPointerException( "commandLine" );
  334.         }
  335.         if ( model == null )
  336.         {
  337.             throw new NullPointerException( "model" );
  338.         }

  339.         Module m = null;

  340.         if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
  341.         {
  342.             final String name = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
  343.             final Modules modules = ModelHelper.getModules( model );

  344.             if ( modules != null )
  345.             {
  346.                 m = modules.getModule( name );
  347.             }

  348.             if ( m == null )
  349.             {
  350.                 this.log( Level.WARNING, this.getModuleNotFoundWarning( this.getLocale(), name ), null );
  351.             }
  352.         }

  353.         return m;
  354.     }

  355.     /**
  356.      * Gets a flag indicating that all modules are requested to be processed.
  357.      *
  358.      * @param commandLine The command line to process.
  359.      *
  360.      * @return {@code true}, if processing of all modules is requested; {@code false}, else.
  361.      *
  362.      * @throws NullPointerException if {@code commandLine} is {@code null}.
  363.      *
  364.      * @see #getSpecification(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model)
  365.      * @see #getImplementation(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model)
  366.      * @see #getModule(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model)
  367.      */
  368.     protected final boolean isModulesProcessingRequested( final CommandLine commandLine )
  369.     {
  370.         if ( commandLine == null )
  371.         {
  372.             throw new NullPointerException( "commandLine" );
  373.         }

  374.         return !( commandLine.hasOption( this.getSpecificationOption().getOpt() )
  375.                   || commandLine.hasOption( this.getImplementationOption().getOpt() )
  376.                   || commandLine.hasOption( this.getModuleNameOption().getOpt() ) );

  377.     }

  378.     /**
  379.      * Gets a locale from a command line.
  380.      *
  381.      * @param commandLine The command line to get a locale from.
  382.      *
  383.      * @return The locale from {@code commandLine} or {@code null}, if {@code commandLine} does not hold options
  384.      * specifying a locale.
  385.      */
  386.     protected final Locale getLocale( final CommandLine commandLine )
  387.     {
  388.         if ( commandLine == null )
  389.         {
  390.             throw new NullPointerException( "commandLine" );
  391.         }

  392.         Locale locale = null;

  393.         final String lc = commandLine.hasOption( this.getLanguageOption().getOpt() )
  394.                               ? commandLine.getOptionValue( this.getLanguageOption().getOpt() )
  395.                               : null;

  396.         final String cc = commandLine.hasOption( this.getCountryOption().getOpt() )
  397.                               ? commandLine.getOptionValue( this.getCountryOption().getOpt() )
  398.                               : null;

  399.         final String lv = commandLine.hasOption( this.getLocaleVariantOption().getOpt() )
  400.                               ? commandLine.getOptionValue( this.getLocaleVariantOption().getOpt() )
  401.                               : null;

  402.         if ( lc != null || cc != null || lv != null )
  403.         {
  404.             locale = new Locale( StringUtils.defaultString( lc ),
  405.                                  StringUtils.defaultString( cc ),
  406.                                  StringUtils.defaultString( lv ) );

  407.         }

  408.         return locale;
  409.     }

  410.     // SECTION-END
  411.     // SECTION-START[Constructors]
  412.     // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
  413.     /** Creates a new {@code AbstractJomcToolCommand} instance. */
  414.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  415.     public AbstractJomcToolCommand()
  416.     {
  417.         // SECTION-START[Default Constructor]
  418.         super();
  419.         // SECTION-END
  420.     }
  421.     // </editor-fold>
  422.     // SECTION-END
  423.     // SECTION-START[Dependencies]
  424.     // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
  425.     /**
  426.      * Gets the {@code <Classpath Option>} dependency.
  427.      * <p>
  428.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Classpath Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  429.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  430.      * </p>
  431.      * <dl>
  432.      *   <dt><b>Final:</b></dt><dd>No</dd>
  433.      * </dl>
  434.      * @return The {@code <Classpath Option>} dependency.
  435.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  436.      */
  437.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  438.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  439.     private org.apache.commons.cli.Option getClasspathOption()
  440.     {
  441.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Classpath Option" );
  442.         assert _d != null : "'Classpath Option' dependency not found.";
  443.         return _d;
  444.     }
  445.     /**
  446.      * Gets the {@code <Country Option>} dependency.
  447.      * <p>
  448.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Country Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  449.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  450.      * </p>
  451.      * <dl>
  452.      *   <dt><b>Final:</b></dt><dd>No</dd>
  453.      * </dl>
  454.      * @return The {@code <Country Option>} dependency.
  455.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  456.      */
  457.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  458.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  459.     private org.apache.commons.cli.Option getCountryOption()
  460.     {
  461.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Country Option" );
  462.         assert _d != null : "'Country Option' dependency not found.";
  463.         return _d;
  464.     }
  465.     /**
  466.      * Gets the {@code <Default Template Encoding Option>} dependency.
  467.      * <p>
  468.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Default Template Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  469.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  470.      * </p>
  471.      * <dl>
  472.      *   <dt><b>Final:</b></dt><dd>No</dd>
  473.      * </dl>
  474.      * @return The {@code <Default Template Encoding Option>} dependency.
  475.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  476.      */
  477.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  478.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  479.     private org.apache.commons.cli.Option getDefaultTemplateEncodingOption()
  480.     {
  481.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Default Template Encoding Option" );
  482.         assert _d != null : "'Default Template Encoding Option' dependency not found.";
  483.         return _d;
  484.     }
  485.     /**
  486.      * Gets the {@code <Default Template Profile Option>} dependency.
  487.      * <p>
  488.      *   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.
  489.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  490.      * </p>
  491.      * <dl>
  492.      *   <dt><b>Final:</b></dt><dd>No</dd>
  493.      * </dl>
  494.      * @return The {@code <Default Template Profile Option>} dependency.
  495.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  496.      */
  497.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  498.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  499.     private org.apache.commons.cli.Option getDefaultTemplateProfileOption()
  500.     {
  501.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Default Template Profile Option" );
  502.         assert _d != null : "'Default Template Profile Option' dependency not found.";
  503.         return _d;
  504.     }
  505.     /**
  506.      * Gets the {@code <Documents Option>} dependency.
  507.      * <p>
  508.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Documents Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  509.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  510.      * </p>
  511.      * <dl>
  512.      *   <dt><b>Final:</b></dt><dd>No</dd>
  513.      * </dl>
  514.      * @return The {@code <Documents Option>} dependency.
  515.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  516.      */
  517.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  518.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  519.     private org.apache.commons.cli.Option getDocumentsOption()
  520.     {
  521.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Documents Option" );
  522.         assert _d != null : "'Documents Option' dependency not found.";
  523.         return _d;
  524.     }
  525.     /**
  526.      * Gets the {@code <Implementation Option>} dependency.
  527.      * <p>
  528.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Implementation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  529.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  530.      * </p>
  531.      * <dl>
  532.      *   <dt><b>Final:</b></dt><dd>No</dd>
  533.      * </dl>
  534.      * @return The {@code <Implementation Option>} dependency.
  535.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  536.      */
  537.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  538.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  539.     private org.apache.commons.cli.Option getImplementationOption()
  540.     {
  541.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Implementation Option" );
  542.         assert _d != null : "'Implementation Option' dependency not found.";
  543.         return _d;
  544.     }
  545.     /**
  546.      * Gets the {@code <Indentation String Option>} dependency.
  547.      * <p>
  548.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Indentation String Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  549.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  550.      * </p>
  551.      * <dl>
  552.      *   <dt><b>Final:</b></dt><dd>No</dd>
  553.      * </dl>
  554.      * @return The {@code <Indentation String Option>} dependency.
  555.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  556.      */
  557.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  558.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  559.     private org.apache.commons.cli.Option getIndentationStringOption()
  560.     {
  561.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Indentation String Option" );
  562.         assert _d != null : "'Indentation String Option' dependency not found.";
  563.         return _d;
  564.     }
  565.     /**
  566.      * Gets the {@code <Input Encoding Option>} dependency.
  567.      * <p>
  568.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Input Encoding 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 <Input Encoding Option>} dependency.
  575.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  576.      */
  577.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  578.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  579.     private org.apache.commons.cli.Option getInputEncodingOption()
  580.     {
  581.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Input Encoding Option" );
  582.         assert _d != null : "'Input Encoding Option' dependency not found.";
  583.         return _d;
  584.     }
  585.     /**
  586.      * Gets the {@code <Language Option>} dependency.
  587.      * <p>
  588.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Language Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  589.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  590.      * </p>
  591.      * <dl>
  592.      *   <dt><b>Final:</b></dt><dd>No</dd>
  593.      * </dl>
  594.      * @return The {@code <Language Option>} dependency.
  595.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  596.      */
  597.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  598.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  599.     private org.apache.commons.cli.Option getLanguageOption()
  600.     {
  601.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Language Option" );
  602.         assert _d != null : "'Language Option' dependency not found.";
  603.         return _d;
  604.     }
  605.     /**
  606.      * Gets the {@code <Line Separator Option>} dependency.
  607.      * <p>
  608.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Line Separator Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  609.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  610.      * </p>
  611.      * <dl>
  612.      *   <dt><b>Final:</b></dt><dd>No</dd>
  613.      * </dl>
  614.      * @return The {@code <Line Separator Option>} dependency.
  615.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  616.      */
  617.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  618.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  619.     private org.apache.commons.cli.Option getLineSeparatorOption()
  620.     {
  621.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Line Separator Option" );
  622.         assert _d != null : "'Line Separator Option' dependency not found.";
  623.         return _d;
  624.     }
  625.     /**
  626.      * Gets the {@code <Locale>} dependency.
  627.      * <p>
  628.      *   This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1.
  629.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  630.      * </p>
  631.      * <dl>
  632.      *   <dt><b>Final:</b></dt><dd>No</dd>
  633.      * </dl>
  634.      * @return The {@code <Locale>} dependency.
  635.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  636.      */
  637.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  638.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  639.     private java.util.Locale getLocale()
  640.     {
  641.         final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
  642.         assert _d != null : "'Locale' dependency not found.";
  643.         return _d;
  644.     }
  645.     /**
  646.      * Gets the {@code <Locale Variant Option>} dependency.
  647.      * <p>
  648.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Locale Variant Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  649.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  650.      * </p>
  651.      * <dl>
  652.      *   <dt><b>Final:</b></dt><dd>No</dd>
  653.      * </dl>
  654.      * @return The {@code <Locale Variant Option>} dependency.
  655.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  656.      */
  657.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  658.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  659.     private org.apache.commons.cli.Option getLocaleVariantOption()
  660.     {
  661.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale Variant Option" );
  662.         assert _d != null : "'Locale Variant Option' dependency not found.";
  663.         return _d;
  664.     }
  665.     /**
  666.      * Gets the {@code <Model Context Factory Option>} dependency.
  667.      * <p>
  668.      *   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.
  669.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  670.      * </p>
  671.      * <dl>
  672.      *   <dt><b>Final:</b></dt><dd>No</dd>
  673.      * </dl>
  674.      * @return The {@code <Model Context Factory Option>} dependency.
  675.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  676.      */
  677.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  678.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  679.     private org.apache.commons.cli.Option getModelContextFactoryOption()
  680.     {
  681.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Context Factory Option" );
  682.         assert _d != null : "'Model Context Factory Option' dependency not found.";
  683.         return _d;
  684.     }
  685.     /**
  686.      * Gets the {@code <Model Option>} dependency.
  687.      * <p>
  688.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Model Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  689.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  690.      * </p>
  691.      * <dl>
  692.      *   <dt><b>Final:</b></dt><dd>No</dd>
  693.      * </dl>
  694.      * @return The {@code <Model Option>} dependency.
  695.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  696.      */
  697.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  698.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  699.     private org.apache.commons.cli.Option getModelOption()
  700.     {
  701.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Option" );
  702.         assert _d != null : "'Model Option' dependency not found.";
  703.         return _d;
  704.     }
  705.     /**
  706.      * Gets the {@code <Modlet Location Option>} dependency.
  707.      * <p>
  708.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Modlet Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  709.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  710.      * </p>
  711.      * <dl>
  712.      *   <dt><b>Final:</b></dt><dd>No</dd>
  713.      * </dl>
  714.      * @return The {@code <Modlet Location Option>} dependency.
  715.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  716.      */
  717.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  718.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  719.     private org.apache.commons.cli.Option getModletLocationOption()
  720.     {
  721.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Location Option" );
  722.         assert _d != null : "'Modlet Location Option' dependency not found.";
  723.         return _d;
  724.     }
  725.     /**
  726.      * Gets the {@code <Modlet Schema System Id Option>} dependency.
  727.      * <p>
  728.      *   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.
  729.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  730.      * </p>
  731.      * <dl>
  732.      *   <dt><b>Final:</b></dt><dd>No</dd>
  733.      * </dl>
  734.      * @return The {@code <Modlet Schema System Id Option>} dependency.
  735.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  736.      */
  737.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  738.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  739.     private org.apache.commons.cli.Option getModletSchemaSystemIdOption()
  740.     {
  741.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Schema System Id Option" );
  742.         assert _d != null : "'Modlet Schema System Id Option' dependency not found.";
  743.         return _d;
  744.     }
  745.     /**
  746.      * Gets the {@code <Module Location Option>} dependency.
  747.      * <p>
  748.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Module Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  749.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  750.      * </p>
  751.      * <dl>
  752.      *   <dt><b>Final:</b></dt><dd>No</dd>
  753.      * </dl>
  754.      * @return The {@code <Module Location Option>} dependency.
  755.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  756.      */
  757.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  758.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  759.     private org.apache.commons.cli.Option getModuleLocationOption()
  760.     {
  761.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Location Option" );
  762.         assert _d != null : "'Module Location Option' dependency not found.";
  763.         return _d;
  764.     }
  765.     /**
  766.      * Gets the {@code <Module Name Option>} dependency.
  767.      * <p>
  768.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Module Name Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  769.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  770.      * </p>
  771.      * <dl>
  772.      *   <dt><b>Final:</b></dt><dd>No</dd>
  773.      * </dl>
  774.      * @return The {@code <Module Name Option>} dependency.
  775.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  776.      */
  777.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  778.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  779.     private org.apache.commons.cli.Option getModuleNameOption()
  780.     {
  781.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Name Option" );
  782.         assert _d != null : "'Module Name Option' dependency not found.";
  783.         return _d;
  784.     }
  785.     /**
  786.      * Gets the {@code <No Classpath Resolution Option>} dependency.
  787.      * <p>
  788.      *   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.
  789.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  790.      * </p>
  791.      * <dl>
  792.      *   <dt><b>Final:</b></dt><dd>No</dd>
  793.      * </dl>
  794.      * @return The {@code <No Classpath Resolution Option>} dependency.
  795.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  796.      */
  797.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  798.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  799.     private org.apache.commons.cli.Option getNoClasspathResolutionOption()
  800.     {
  801.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Classpath Resolution Option" );
  802.         assert _d != null : "'No Classpath Resolution Option' dependency not found.";
  803.         return _d;
  804.     }
  805.     /**
  806.      * Gets the {@code <No Java Validation Option>} dependency.
  807.      * <p>
  808.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ No Java Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  809.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  810.      * </p>
  811.      * <dl>
  812.      *   <dt><b>Final:</b></dt><dd>No</dd>
  813.      * </dl>
  814.      * @return The {@code <No Java Validation Option>} dependency.
  815.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  816.      */
  817.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  818.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  819.     private org.apache.commons.cli.Option getNoJavaValidationOption()
  820.     {
  821.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Java Validation Option" );
  822.         assert _d != null : "'No Java Validation Option' dependency not found.";
  823.         return _d;
  824.     }
  825.     /**
  826.      * Gets the {@code <No Model Processing Option>} dependency.
  827.      * <p>
  828.      *   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.
  829.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  830.      * </p>
  831.      * <dl>
  832.      *   <dt><b>Final:</b></dt><dd>No</dd>
  833.      * </dl>
  834.      * @return The {@code <No Model Processing Option>} dependency.
  835.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  836.      */
  837.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  838.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  839.     private org.apache.commons.cli.Option getNoModelProcessingOption()
  840.     {
  841.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Processing Option" );
  842.         assert _d != null : "'No Model Processing Option' dependency not found.";
  843.         return _d;
  844.     }
  845.     /**
  846.      * Gets the {@code <No Model Resource Validation>} dependency.
  847.      * <p>
  848.      *   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.
  849.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  850.      * </p>
  851.      * <dl>
  852.      *   <dt><b>Final:</b></dt><dd>No</dd>
  853.      * </dl>
  854.      * @return The {@code <No Model Resource Validation>} dependency.
  855.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  856.      */
  857.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  858.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  859.     private org.apache.commons.cli.Option getNoModelResourceValidation()
  860.     {
  861.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Resource Validation" );
  862.         assert _d != null : "'No Model Resource Validation' dependency not found.";
  863.         return _d;
  864.     }
  865.     /**
  866.      * Gets the {@code <No Modlet Resource Validation>} dependency.
  867.      * <p>
  868.      *   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.
  869.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  870.      * </p>
  871.      * <dl>
  872.      *   <dt><b>Final:</b></dt><dd>No</dd>
  873.      * </dl>
  874.      * @return The {@code <No Modlet Resource Validation>} dependency.
  875.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  876.      */
  877.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  878.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  879.     private org.apache.commons.cli.Option getNoModletResourceValidation()
  880.     {
  881.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Modlet Resource Validation" );
  882.         assert _d != null : "'No Modlet Resource Validation' dependency not found.";
  883.         return _d;
  884.     }
  885.     /**
  886.      * Gets the {@code <Output Encoding Option>} dependency.
  887.      * <p>
  888.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Output Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  889.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  890.      * </p>
  891.      * <dl>
  892.      *   <dt><b>Final:</b></dt><dd>No</dd>
  893.      * </dl>
  894.      * @return The {@code <Output Encoding Option>} dependency.
  895.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  896.      */
  897.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  898.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  899.     private org.apache.commons.cli.Option getOutputEncodingOption()
  900.     {
  901.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Output Encoding Option" );
  902.         assert _d != null : "'Output Encoding Option' dependency not found.";
  903.         return _d;
  904.     }
  905.     /**
  906.      * Gets the {@code <Platform Provider Location Option>} dependency.
  907.      * <p>
  908.      *   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.
  909.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  910.      * </p>
  911.      * <dl>
  912.      *   <dt><b>Final:</b></dt><dd>No</dd>
  913.      * </dl>
  914.      * @return The {@code <Platform Provider Location Option>} dependency.
  915.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  916.      */
  917.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  918.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  919.     private org.apache.commons.cli.Option getPlatformProviderLocationOption()
  920.     {
  921.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Platform Provider Location Option" );
  922.         assert _d != null : "'Platform Provider Location Option' dependency not found.";
  923.         return _d;
  924.     }
  925.     /**
  926.      * Gets the {@code <Provider Location Option>} dependency.
  927.      * <p>
  928.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Provider Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  929.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  930.      * </p>
  931.      * <dl>
  932.      *   <dt><b>Final:</b></dt><dd>No</dd>
  933.      * </dl>
  934.      * @return The {@code <Provider Location Option>} dependency.
  935.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  936.      */
  937.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  938.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  939.     private org.apache.commons.cli.Option getProviderLocationOption()
  940.     {
  941.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" );
  942.         assert _d != null : "'Provider Location Option' dependency not found.";
  943.         return _d;
  944.     }
  945.     /**
  946.      * Gets the {@code <Specification Option>} dependency.
  947.      * <p>
  948.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Specification Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  949.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  950.      * </p>
  951.      * <dl>
  952.      *   <dt><b>Final:</b></dt><dd>No</dd>
  953.      * </dl>
  954.      * @return The {@code <Specification Option>} dependency.
  955.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  956.      */
  957.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  958.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  959.     private org.apache.commons.cli.Option getSpecificationOption()
  960.     {
  961.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Specification Option" );
  962.         assert _d != null : "'Specification Option' dependency not found.";
  963.         return _d;
  964.     }
  965.     /**
  966.      * Gets the {@code <Template Encoding Option>} dependency.
  967.      * <p>
  968.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Template Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  969.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  970.      * </p>
  971.      * <dl>
  972.      *   <dt><b>Final:</b></dt><dd>No</dd>
  973.      * </dl>
  974.      * @return The {@code <Template Encoding Option>} dependency.
  975.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  976.      */
  977.     @Deprecated
  978.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  979.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  980.     private org.apache.commons.cli.Option getTemplateEncodingOption()
  981.     {
  982.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Encoding Option" );
  983.         assert _d != null : "'Template Encoding Option' dependency not found.";
  984.         return _d;
  985.     }
  986.     /**
  987.      * Gets the {@code <Template Location Option>} dependency.
  988.      * <p>
  989.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Template Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  990.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  991.      * </p>
  992.      * <dl>
  993.      *   <dt><b>Final:</b></dt><dd>No</dd>
  994.      * </dl>
  995.      * @return The {@code <Template Location Option>} dependency.
  996.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  997.      */
  998.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  999.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1000.     private org.apache.commons.cli.Option getTemplateLocationOption()
  1001.     {
  1002.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Location Option" );
  1003.         assert _d != null : "'Template Location Option' dependency not found.";
  1004.         return _d;
  1005.     }
  1006.     /**
  1007.      * Gets the {@code <Template Profile Option>} dependency.
  1008.      * <p>
  1009.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Template Profile Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  1010.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  1011.      * </p>
  1012.      * <dl>
  1013.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1014.      * </dl>
  1015.      * @return The {@code <Template Profile Option>} dependency.
  1016.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  1017.      */
  1018.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1019.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1020.     private org.apache.commons.cli.Option getTemplateProfileOption()
  1021.     {
  1022.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Profile Option" );
  1023.         assert _d != null : "'Template Profile Option' dependency not found.";
  1024.         return _d;
  1025.     }
  1026.     /**
  1027.      * Gets the {@code <Transformer Location Option>} dependency.
  1028.      * <p>
  1029.      *   This method returns the {@code <JOMC ⁑ CLI ⁑ Transformer Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2.
  1030.      *   That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.
  1031.      * </p>
  1032.      * <dl>
  1033.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1034.      * </dl>
  1035.      * @return The {@code <Transformer Location Option>} dependency.
  1036.      * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
  1037.      */
  1038.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1039.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1040.     private org.apache.commons.cli.Option getTransformerLocationOption()
  1041.     {
  1042.         final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Transformer Location Option" );
  1043.         assert _d != null : "'Transformer Location Option' dependency not found.";
  1044.         return _d;
  1045.     }
  1046.     // </editor-fold>
  1047.     // SECTION-END
  1048.     // SECTION-START[Properties]
  1049.     // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
  1050.     /**
  1051.      * Gets the value of the {@code <Abbreviated Command Name>} property.
  1052.      * <p><dl>
  1053.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1054.      * </dl></p>
  1055.      * @return Abbreviated name of the command.
  1056.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1057.      */
  1058.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1059.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1060.     private java.lang.String getAbbreviatedCommandName()
  1061.     {
  1062.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" );
  1063.         assert _p != null : "'Abbreviated Command Name' property not found.";
  1064.         return _p;
  1065.     }
  1066.     /**
  1067.      * Gets the value of the {@code <Application Modlet>} property.
  1068.      * <p><dl>
  1069.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1070.      * </dl></p>
  1071.      * @return Name of the 'shaded' application modlet.
  1072.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1073.      */
  1074.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1075.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1076.     private java.lang.String getApplicationModlet()
  1077.     {
  1078.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" );
  1079.         assert _p != null : "'Application Modlet' property not found.";
  1080.         return _p;
  1081.     }
  1082.     /**
  1083.      * Gets the value of the {@code <Command Name>} property.
  1084.      * <p><dl>
  1085.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1086.      * </dl></p>
  1087.      * @return Name of the command.
  1088.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1089.      */
  1090.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1091.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1092.     private java.lang.String getCommandName()
  1093.     {
  1094.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" );
  1095.         assert _p != null : "'Command Name' property not found.";
  1096.         return _p;
  1097.     }
  1098.     /**
  1099.      * Gets the value of the {@code <Modlet Excludes>} property.
  1100.      * <p><dl>
  1101.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1102.      * </dl></p>
  1103.      * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
  1104.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1105.      */
  1106.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1107.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1108.     private java.lang.String getModletExcludes()
  1109.     {
  1110.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" );
  1111.         assert _p != null : "'Modlet Excludes' property not found.";
  1112.         return _p;
  1113.     }
  1114.     /**
  1115.      * Gets the value of the {@code <Provider Excludes>} property.
  1116.      * <p><dl>
  1117.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1118.      * </dl></p>
  1119.      * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}.
  1120.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1121.      */
  1122.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1123.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1124.     private java.lang.String getProviderExcludes()
  1125.     {
  1126.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" );
  1127.         assert _p != null : "'Provider Excludes' property not found.";
  1128.         return _p;
  1129.     }
  1130.     /**
  1131.      * Gets the value of the {@code <Schema Excludes>} property.
  1132.      * <p><dl>
  1133.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1134.      * </dl></p>
  1135.      * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
  1136.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1137.      */
  1138.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1139.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1140.     private java.lang.String getSchemaExcludes()
  1141.     {
  1142.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" );
  1143.         assert _p != null : "'Schema Excludes' property not found.";
  1144.         return _p;
  1145.     }
  1146.     /**
  1147.      * Gets the value of the {@code <Service Excludes>} property.
  1148.      * <p><dl>
  1149.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1150.      * </dl></p>
  1151.      * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}.
  1152.      * @throws org.jomc.ObjectManagementException if getting the property instance fails.
  1153.      */
  1154.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1155.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1156.     private java.lang.String getServiceExcludes()
  1157.     {
  1158.         final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" );
  1159.         assert _p != null : "'Service Excludes' property not found.";
  1160.         return _p;
  1161.     }
  1162.     // </editor-fold>
  1163.     // SECTION-END
  1164.     // SECTION-START[Messages]
  1165.     // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
  1166.     /**
  1167.      * Gets the text of the {@code <Application Title>} message.
  1168.      * <p><dl>
  1169.      *   <dt><b>Languages:</b></dt>
  1170.      *     <dd>English (default)</dd>
  1171.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1172.      * </dl></p>
  1173.      * @param locale The locale of the message to return.
  1174.      * @return The text of the {@code <Application Title>} message for {@code locale}.
  1175.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1176.      */
  1177.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1178.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1179.     private String getApplicationTitle( final java.util.Locale locale )
  1180.     {
  1181.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale );
  1182.         assert _m != null : "'Application Title' message not found.";
  1183.         return _m;
  1184.     }
  1185.     /**
  1186.      * Gets the text of the {@code <Cannot Process Message>} message.
  1187.      * <p><dl>
  1188.      *   <dt><b>Languages:</b></dt>
  1189.      *     <dd>English (default)</dd>
  1190.      *     <dd>Deutsch</dd>
  1191.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1192.      * </dl></p>
  1193.      * @param locale The locale of the message to return.
  1194.      * @param itemInfo Format argument.
  1195.      * @param detailMessage Format argument.
  1196.      * @return The text of the {@code <Cannot Process Message>} message for {@code locale}.
  1197.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1198.      */
  1199.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1200.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1201.     private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
  1202.     {
  1203.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage );
  1204.         assert _m != null : "'Cannot Process Message' message not found.";
  1205.         return _m;
  1206.     }
  1207.     /**
  1208.      * Gets the text of the {@code <Classpath Element Info>} message.
  1209.      * <p><dl>
  1210.      *   <dt><b>Languages:</b></dt>
  1211.      *     <dd>English (default)</dd>
  1212.      *     <dd>Deutsch</dd>
  1213.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1214.      * </dl></p>
  1215.      * @param locale The locale of the message to return.
  1216.      * @param classpathElement Format argument.
  1217.      * @return The text of the {@code <Classpath Element Info>} message for {@code locale}.
  1218.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1219.      */
  1220.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1221.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1222.     private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement )
  1223.     {
  1224.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement );
  1225.         assert _m != null : "'Classpath Element Info' message not found.";
  1226.         return _m;
  1227.     }
  1228.     /**
  1229.      * Gets the text of the {@code <Classpath Element Not Found Warning>} message.
  1230.      * <p><dl>
  1231.      *   <dt><b>Languages:</b></dt>
  1232.      *     <dd>English (default)</dd>
  1233.      *     <dd>Deutsch</dd>
  1234.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1235.      * </dl></p>
  1236.      * @param locale The locale of the message to return.
  1237.      * @param fileName Format argument.
  1238.      * @return The text of the {@code <Classpath Element Not Found Warning>} message for {@code locale}.
  1239.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1240.      */
  1241.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1242.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1243.     private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
  1244.     {
  1245.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName );
  1246.         assert _m != null : "'Classpath Element Not Found Warning' message not found.";
  1247.         return _m;
  1248.     }
  1249.     /**
  1250.      * Gets the text of the {@code <Command Failure Message>} message.
  1251.      * <p><dl>
  1252.      *   <dt><b>Languages:</b></dt>
  1253.      *     <dd>English (default)</dd>
  1254.      *     <dd>Deutsch</dd>
  1255.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1256.      * </dl></p>
  1257.      * @param locale The locale of the message to return.
  1258.      * @param toolName Format argument.
  1259.      * @return The text of the {@code <Command Failure Message>} message for {@code locale}.
  1260.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1261.      */
  1262.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1263.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1264.     private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
  1265.     {
  1266.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName );
  1267.         assert _m != null : "'Command Failure Message' message not found.";
  1268.         return _m;
  1269.     }
  1270.     /**
  1271.      * Gets the text of the {@code <Command Info Message>} message.
  1272.      * <p><dl>
  1273.      *   <dt><b>Languages:</b></dt>
  1274.      *     <dd>English (default)</dd>
  1275.      *     <dd>Deutsch</dd>
  1276.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1277.      * </dl></p>
  1278.      * @param locale The locale of the message to return.
  1279.      * @param toolName Format argument.
  1280.      * @return The text of the {@code <Command Info Message>} message for {@code locale}.
  1281.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1282.      */
  1283.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1284.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1285.     private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName )
  1286.     {
  1287.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName );
  1288.         assert _m != null : "'Command Info Message' message not found.";
  1289.         return _m;
  1290.     }
  1291.     /**
  1292.      * Gets the text of the {@code <Command Success Message>} message.
  1293.      * <p><dl>
  1294.      *   <dt><b>Languages:</b></dt>
  1295.      *     <dd>English (default)</dd>
  1296.      *     <dd>Deutsch</dd>
  1297.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1298.      * </dl></p>
  1299.      * @param locale The locale of the message to return.
  1300.      * @param toolName Format argument.
  1301.      * @return The text of the {@code <Command Success Message>} message for {@code locale}.
  1302.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1303.      */
  1304.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1305.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1306.     private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
  1307.     {
  1308.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName );
  1309.         assert _m != null : "'Command Success Message' message not found.";
  1310.         return _m;
  1311.     }
  1312.     /**
  1313.      * Gets the text of the {@code <Default Log Level Info>} message.
  1314.      * <p><dl>
  1315.      *   <dt><b>Languages:</b></dt>
  1316.      *     <dd>English (default)</dd>
  1317.      *     <dd>Deutsch</dd>
  1318.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1319.      * </dl></p>
  1320.      * @param locale The locale of the message to return.
  1321.      * @param defaultLogLevel Format argument.
  1322.      * @return The text of the {@code <Default Log Level Info>} message for {@code locale}.
  1323.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1324.      */
  1325.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1326.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1327.     private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel )
  1328.     {
  1329.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel );
  1330.         assert _m != null : "'Default Log Level Info' message not found.";
  1331.         return _m;
  1332.     }
  1333.     /**
  1334.      * Gets the text of the {@code <Deprecated Option Message>} message.
  1335.      * <p><dl>
  1336.      *   <dt><b>Languages:</b></dt>
  1337.      *     <dd>English (default)</dd>
  1338.      *     <dd>Deutsch</dd>
  1339.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1340.      * </dl></p>
  1341.      * @param locale The locale of the message to return.
  1342.      * @param deprecatedOption Format argument.
  1343.      * @param replacementOption Format argument.
  1344.      * @return The text of the {@code <Deprecated Option Message>} message for {@code locale}.
  1345.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1346.      */
  1347.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1348.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1349.     private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption )
  1350.     {
  1351.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Deprecated Option Message", locale, deprecatedOption, replacementOption );
  1352.         assert _m != null : "'Deprecated Option Message' message not found.";
  1353.         return _m;
  1354.     }
  1355.     /**
  1356.      * Gets the text of the {@code <Document File Info>} message.
  1357.      * <p><dl>
  1358.      *   <dt><b>Languages:</b></dt>
  1359.      *     <dd>English (default)</dd>
  1360.      *     <dd>Deutsch</dd>
  1361.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1362.      * </dl></p>
  1363.      * @param locale The locale of the message to return.
  1364.      * @param documentFile Format argument.
  1365.      * @return The text of the {@code <Document File Info>} message for {@code locale}.
  1366.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1367.      */
  1368.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1369.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1370.     private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile )
  1371.     {
  1372.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile );
  1373.         assert _m != null : "'Document File Info' message not found.";
  1374.         return _m;
  1375.     }
  1376.     /**
  1377.      * Gets the text of the {@code <Document File Not Found Warning>} message.
  1378.      * <p><dl>
  1379.      *   <dt><b>Languages:</b></dt>
  1380.      *     <dd>English (default)</dd>
  1381.      *     <dd>Deutsch</dd>
  1382.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1383.      * </dl></p>
  1384.      * @param locale The locale of the message to return.
  1385.      * @param fileName Format argument.
  1386.      * @return The text of the {@code <Document File Not Found Warning>} message for {@code locale}.
  1387.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1388.      */
  1389.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1390.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1391.     private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName )
  1392.     {
  1393.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName );
  1394.         assert _m != null : "'Document File Not Found Warning' message not found.";
  1395.         return _m;
  1396.     }
  1397.     /**
  1398.      * Gets the text of the {@code <Excluded Modlet Info>} 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>No</dd>
  1404.      * </dl></p>
  1405.      * @param locale The locale of the message to return.
  1406.      * @param resourceName Format argument.
  1407.      * @param modletIdentifier Format argument.
  1408.      * @return The text of the {@code <Excluded Modlet Info>} message for {@code locale}.
  1409.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1410.      */
  1411.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1412.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1413.     private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier )
  1414.     {
  1415.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier );
  1416.         assert _m != null : "'Excluded Modlet Info' message not found.";
  1417.         return _m;
  1418.     }
  1419.     /**
  1420.      * Gets the text of the {@code <Excluded Provider Info>} message.
  1421.      * <p><dl>
  1422.      *   <dt><b>Languages:</b></dt>
  1423.      *     <dd>English (default)</dd>
  1424.      *     <dd>Deutsch</dd>
  1425.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1426.      * </dl></p>
  1427.      * @param locale The locale of the message to return.
  1428.      * @param resourceName Format argument.
  1429.      * @param providerName Format argument.
  1430.      * @return The text of the {@code <Excluded Provider Info>} message for {@code locale}.
  1431.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1432.      */
  1433.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1434.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1435.     private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName )
  1436.     {
  1437.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName );
  1438.         assert _m != null : "'Excluded Provider Info' message not found.";
  1439.         return _m;
  1440.     }
  1441.     /**
  1442.      * Gets the text of the {@code <Excluded Schema Info>} message.
  1443.      * <p><dl>
  1444.      *   <dt><b>Languages:</b></dt>
  1445.      *     <dd>English (default)</dd>
  1446.      *     <dd>Deutsch</dd>
  1447.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1448.      * </dl></p>
  1449.      * @param locale The locale of the message to return.
  1450.      * @param resourceName Format argument.
  1451.      * @param contextId Format argument.
  1452.      * @return The text of the {@code <Excluded Schema Info>} message for {@code locale}.
  1453.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1454.      */
  1455.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1456.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1457.     private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId )
  1458.     {
  1459.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId );
  1460.         assert _m != null : "'Excluded Schema Info' message not found.";
  1461.         return _m;
  1462.     }
  1463.     /**
  1464.      * Gets the text of the {@code <Excluded Service Info>} message.
  1465.      * <p><dl>
  1466.      *   <dt><b>Languages:</b></dt>
  1467.      *     <dd>English (default)</dd>
  1468.      *     <dd>Deutsch</dd>
  1469.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1470.      * </dl></p>
  1471.      * @param locale The locale of the message to return.
  1472.      * @param resourceName Format argument.
  1473.      * @param serviceName Format argument.
  1474.      * @return The text of the {@code <Excluded Service Info>} message for {@code locale}.
  1475.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1476.      */
  1477.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1478.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1479.     private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName )
  1480.     {
  1481.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName );
  1482.         assert _m != null : "'Excluded Service Info' message not found.";
  1483.         return _m;
  1484.     }
  1485.     /**
  1486.      * Gets the text of the {@code <Failed Creating Object Message>} message.
  1487.      * <p><dl>
  1488.      *   <dt><b>Languages:</b></dt>
  1489.      *     <dd>English (default)</dd>
  1490.      *     <dd>Deutsch</dd>
  1491.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1492.      * </dl></p>
  1493.      * @param locale The locale of the message to return.
  1494.      * @param objectInfo Format argument.
  1495.      * @return The text of the {@code <Failed Creating Object Message>} message for {@code locale}.
  1496.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1497.      */
  1498.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1499.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1500.     private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo )
  1501.     {
  1502.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Failed Creating Object Message", locale, objectInfo );
  1503.         assert _m != null : "'Failed Creating Object Message' message not found.";
  1504.         return _m;
  1505.     }
  1506.     /**
  1507.      * Gets the text of the {@code <Implementation Not Found Warning>} message.
  1508.      * <p><dl>
  1509.      *   <dt><b>Languages:</b></dt>
  1510.      *     <dd>English (default)</dd>
  1511.      *     <dd>Deutsch</dd>
  1512.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1513.      * </dl></p>
  1514.      * @param locale The locale of the message to return.
  1515.      * @param implementationIdentifier Format argument.
  1516.      * @return The text of the {@code <Implementation Not Found Warning>} message for {@code locale}.
  1517.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1518.      */
  1519.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1520.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1521.     private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier )
  1522.     {
  1523.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Implementation Not Found Warning", locale, implementationIdentifier );
  1524.         assert _m != null : "'Implementation Not Found Warning' message not found.";
  1525.         return _m;
  1526.     }
  1527.     /**
  1528.      * Gets the text of the {@code <Invalid Model Message>} message.
  1529.      * <p><dl>
  1530.      *   <dt><b>Languages:</b></dt>
  1531.      *     <dd>English (default)</dd>
  1532.      *     <dd>Deutsch</dd>
  1533.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1534.      * </dl></p>
  1535.      * @param locale The locale of the message to return.
  1536.      * @param modelIdentifier Format argument.
  1537.      * @return The text of the {@code <Invalid Model Message>} message for {@code locale}.
  1538.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1539.      */
  1540.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1541.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1542.     private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier )
  1543.     {
  1544.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier );
  1545.         assert _m != null : "'Invalid Model Message' message not found.";
  1546.         return _m;
  1547.     }
  1548.     /**
  1549.      * Gets the text of the {@code <Long Description Message>} message.
  1550.      * <p><dl>
  1551.      *   <dt><b>Languages:</b></dt>
  1552.      *     <dd>English (default)</dd>
  1553.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1554.      * </dl></p>
  1555.      * @param locale The locale of the message to return.
  1556.      * @return The text of the {@code <Long Description Message>} message for {@code locale}.
  1557.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1558.      */
  1559.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1560.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1561.     private String getLongDescriptionMessage( final java.util.Locale locale )
  1562.     {
  1563.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale );
  1564.         assert _m != null : "'Long Description Message' message not found.";
  1565.         return _m;
  1566.     }
  1567.     /**
  1568.      * Gets the text of the {@code <Module Not Found Warning>} message.
  1569.      * <p><dl>
  1570.      *   <dt><b>Languages:</b></dt>
  1571.      *     <dd>English (default)</dd>
  1572.      *     <dd>Deutsch</dd>
  1573.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1574.      * </dl></p>
  1575.      * @param locale The locale of the message to return.
  1576.      * @param moduleName Format argument.
  1577.      * @return The text of the {@code <Module Not Found Warning>} message for {@code locale}.
  1578.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1579.      */
  1580.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1581.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1582.     private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName )
  1583.     {
  1584.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Module Not Found Warning", locale, moduleName );
  1585.         assert _m != null : "'Module Not Found Warning' message not found.";
  1586.         return _m;
  1587.     }
  1588.     /**
  1589.      * Gets the text of the {@code <Reading Message>} message.
  1590.      * <p><dl>
  1591.      *   <dt><b>Languages:</b></dt>
  1592.      *     <dd>English (default)</dd>
  1593.      *     <dd>Deutsch</dd>
  1594.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1595.      * </dl></p>
  1596.      * @param locale The locale of the message to return.
  1597.      * @param locationInfo Format argument.
  1598.      * @return The text of the {@code <Reading Message>} message for {@code locale}.
  1599.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1600.      */
  1601.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1602.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1603.     private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo )
  1604.     {
  1605.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo );
  1606.         assert _m != null : "'Reading Message' message not found.";
  1607.         return _m;
  1608.     }
  1609.     /**
  1610.      * Gets the text of the {@code <Separator>} message.
  1611.      * <p><dl>
  1612.      *   <dt><b>Languages:</b></dt>
  1613.      *     <dd>English (default)</dd>
  1614.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1615.      * </dl></p>
  1616.      * @param locale The locale of the message to return.
  1617.      * @return The text of the {@code <Separator>} message for {@code locale}.
  1618.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1619.      */
  1620.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1621.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1622.     private String getSeparator( final java.util.Locale locale )
  1623.     {
  1624.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale );
  1625.         assert _m != null : "'Separator' message not found.";
  1626.         return _m;
  1627.     }
  1628.     /**
  1629.      * Gets the text of the {@code <Short Description Message>} message.
  1630.      * <p><dl>
  1631.      *   <dt><b>Languages:</b></dt>
  1632.      *     <dd>English (default)</dd>
  1633.      *   <dt><b>Final:</b></dt><dd>No</dd>
  1634.      * </dl></p>
  1635.      * @param locale The locale of the message to return.
  1636.      * @return The text of the {@code <Short Description Message>} message for {@code locale}.
  1637.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1638.      */
  1639.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1640.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1641.     private String getShortDescriptionMessage( final java.util.Locale locale )
  1642.     {
  1643.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale );
  1644.         assert _m != null : "'Short Description Message' message not found.";
  1645.         return _m;
  1646.     }
  1647.     /**
  1648.      * Gets the text of the {@code <Specification Not Found Warning>} message.
  1649.      * <p><dl>
  1650.      *   <dt><b>Languages:</b></dt>
  1651.      *     <dd>English (default)</dd>
  1652.      *     <dd>Deutsch</dd>
  1653.      *   <dt><b>Final:</b></dt><dd>Yes</dd>
  1654.      * </dl></p>
  1655.      * @param locale The locale of the message to return.
  1656.      * @param specificationIdentifier Format argument.
  1657.      * @return The text of the {@code <Specification Not Found Warning>} message for {@code locale}.
  1658.      * @throws org.jomc.ObjectManagementException if getting the message instance fails.
  1659.      */
  1660.     @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"})
  1661.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1662.     private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier )
  1663.     {
  1664.         final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Specification Not Found Warning", locale, specificationIdentifier );
  1665.         assert _m != null : "'Specification Not Found Warning' message not found.";
  1666.         return _m;
  1667.     }
  1668.     // </editor-fold>
  1669.     // SECTION-END
  1670.     // SECTION-START[Generated Command]
  1671.     // <editor-fold defaultstate="collapsed" desc=" Generated Options ">
  1672.     /**
  1673.      * Gets the options of the command.
  1674.      * <p><strong>Options:</strong>
  1675.      *   <table border="1" width="100%" cellpadding="3" cellspacing="0">
  1676.      *     <tr class="TableSubHeadingColor">
  1677.      *       <th align="left" scope="col" nowrap><b>Specification</b></th>
  1678.      *       <th align="left" scope="col" nowrap><b>Implementation</b></th>
  1679.      *     </tr>
  1680.      *     <tr class="TableRow">
  1681.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1682.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Classpath Option</td>
  1683.      *     </tr>
  1684.      *     <tr class="TableRow">
  1685.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1686.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Country Option</td>
  1687.      *     </tr>
  1688.      *     <tr class="TableRow">
  1689.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1690.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Default Template Encoding Option</td>
  1691.      *     </tr>
  1692.      *     <tr class="TableRow">
  1693.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1694.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Default Template Profile Option</td>
  1695.      *     </tr>
  1696.      *     <tr class="TableRow">
  1697.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1698.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Documents Option</td>
  1699.      *     </tr>
  1700.      *     <tr class="TableRow">
  1701.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1702.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Implementation Option</td>
  1703.      *     </tr>
  1704.      *     <tr class="TableRow">
  1705.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1706.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Indentation String Option</td>
  1707.      *     </tr>
  1708.      *     <tr class="TableRow">
  1709.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1710.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Input Encoding Option</td>
  1711.      *     </tr>
  1712.      *     <tr class="TableRow">
  1713.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1714.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Language Option</td>
  1715.      *     </tr>
  1716.      *     <tr class="TableRow">
  1717.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1718.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Line Separator Option</td>
  1719.      *     </tr>
  1720.      *     <tr class="TableRow">
  1721.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1722.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Locale Variant Option</td>
  1723.      *     </tr>
  1724.      *     <tr class="TableRow">
  1725.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1726.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option</td>
  1727.      *     </tr>
  1728.      *     <tr class="TableRow">
  1729.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1730.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Model Option</td>
  1731.      *     </tr>
  1732.      *     <tr class="TableRow">
  1733.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1734.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Location Option</td>
  1735.      *     </tr>
  1736.      *     <tr class="TableRow">
  1737.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1738.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Schema System Id Option</td>
  1739.      *     </tr>
  1740.      *     <tr class="TableRow">
  1741.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1742.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Location Option</td>
  1743.      *     </tr>
  1744.      *     <tr class="TableRow">
  1745.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1746.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Name Option</td>
  1747.      *     </tr>
  1748.      *     <tr class="TableRow">
  1749.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1750.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Classpath Resolution Option</td>
  1751.      *     </tr>
  1752.      *     <tr class="TableRow">
  1753.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1754.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Java Validation Option</td>
  1755.      *     </tr>
  1756.      *     <tr class="TableRow">
  1757.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1758.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Processing Option</td>
  1759.      *     </tr>
  1760.      *     <tr class="TableRow">
  1761.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1762.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Resource Validation Option</td>
  1763.      *     </tr>
  1764.      *     <tr class="TableRow">
  1765.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1766.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option</td>
  1767.      *     </tr>
  1768.      *     <tr class="TableRow">
  1769.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1770.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Output Encoding Option</td>
  1771.      *     </tr>
  1772.      *     <tr class="TableRow">
  1773.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1774.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Platform Provider Location Option</td>
  1775.      *     </tr>
  1776.      *     <tr class="TableRow">
  1777.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1778.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Provider Location Option</td>
  1779.      *     </tr>
  1780.      *     <tr class="TableRow">
  1781.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1782.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Specification Option</td>
  1783.      *     </tr>
  1784.      *     <tr class="TableRow">
  1785.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1786.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Encoding Option</td>
  1787.      *     </tr>
  1788.      *     <tr class="TableRow">
  1789.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1790.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Location Option</td>
  1791.      *     </tr>
  1792.      *     <tr class="TableRow">
  1793.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1794.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Profile Option</td>
  1795.      *     </tr>
  1796.      *     <tr class="TableRow">
  1797.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td>
  1798.      *       <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Transformer Location Option</td>
  1799.      *     </tr>
  1800.      *   </table>
  1801.      * </p>
  1802.      * @return The options of the command.
  1803.      */
  1804.     @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.9", comments = "See http://www.jomc.org/jomc/1.9/jomc-tools-1.9" )
  1805.     @Override
  1806.     public org.apache.commons.cli.Options getOptions()
  1807.     {
  1808.         final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options();
  1809.         options.addOption( this.getClasspathOption() );
  1810.         options.addOption( this.getCountryOption() );
  1811.         options.addOption( this.getDefaultTemplateEncodingOption() );
  1812.         options.addOption( this.getDefaultTemplateProfileOption() );
  1813.         options.addOption( this.getDocumentsOption() );
  1814.         options.addOption( this.getImplementationOption() );
  1815.         options.addOption( this.getIndentationStringOption() );
  1816.         options.addOption( this.getInputEncodingOption() );
  1817.         options.addOption( this.getLanguageOption() );
  1818.         options.addOption( this.getLineSeparatorOption() );
  1819.         options.addOption( this.getLocaleVariantOption() );
  1820.         options.addOption( this.getModelContextFactoryOption() );
  1821.         options.addOption( this.getModelOption() );
  1822.         options.addOption( this.getModletLocationOption() );
  1823.         options.addOption( this.getModletSchemaSystemIdOption() );
  1824.         options.addOption( this.getModuleLocationOption() );
  1825.         options.addOption( this.getModuleNameOption() );
  1826.         options.addOption( this.getNoClasspathResolutionOption() );
  1827.         options.addOption( this.getNoJavaValidationOption() );
  1828.         options.addOption( this.getNoModelProcessingOption() );
  1829.         options.addOption( this.getNoModelResourceValidation() );
  1830.         options.addOption( this.getNoModletResourceValidation() );
  1831.         options.addOption( this.getOutputEncodingOption() );
  1832.         options.addOption( this.getPlatformProviderLocationOption() );
  1833.         options.addOption( this.getProviderLocationOption() );
  1834.         options.addOption( this.getSpecificationOption() );
  1835.         options.addOption( this.getTemplateEncodingOption() );
  1836.         options.addOption( this.getTemplateLocationOption() );
  1837.         options.addOption( this.getTemplateProfileOption() );
  1838.         options.addOption( this.getTransformerLocationOption() );
  1839.         return options;
  1840.     }
  1841.     // </editor-fold>
  1842.     // SECTION-END

  1843. }