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