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