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 4588 2012-06-03 06:01:30Z schulte2005 $ 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:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.2 070 * @version 1.3 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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 <ClasspathOption>} 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 <ClasspathOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ClasspathOption" ); 497 assert _d != null : "'ClasspathOption' dependency not found."; 498 return _d; 499 } 500 /** 501 * Gets the {@code <CountryOption>} 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 <CountryOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "CountryOption" ); 517 assert _d != null : "'CountryOption' dependency not found."; 518 return _d; 519 } 520 /** 521 * Gets the {@code <DefaultTemplateEncodingOption>} 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 <DefaultTemplateEncodingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DefaultTemplateEncodingOption" ); 537 assert _d != null : "'DefaultTemplateEncodingOption' dependency not found."; 538 return _d; 539 } 540 /** 541 * Gets the {@code <DefaultTemplateProfileOption>} 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 <DefaultTemplateProfileOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DefaultTemplateProfileOption" ); 557 assert _d != null : "'DefaultTemplateProfileOption' dependency not found."; 558 return _d; 559 } 560 /** 561 * Gets the {@code <DocumentsOption>} 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 <DocumentsOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DocumentsOption" ); 577 assert _d != null : "'DocumentsOption' dependency not found."; 578 return _d; 579 } 580 /** 581 * Gets the {@code <ImplementationOption>} 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 <ImplementationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ImplementationOption" ); 597 assert _d != null : "'ImplementationOption' dependency not found."; 598 return _d; 599 } 600 /** 601 * Gets the {@code <IndentationStringOption>} 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 <IndentationStringOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "IndentationStringOption" ); 617 assert _d != null : "'IndentationStringOption' dependency not found."; 618 return _d; 619 } 620 /** 621 * Gets the {@code <InputEncodingOption>} 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 <InputEncodingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "InputEncodingOption" ); 637 assert _d != null : "'InputEncodingOption' dependency not found."; 638 return _d; 639 } 640 /** 641 * Gets the {@code <LanguageOption>} 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 <LanguageOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "LanguageOption" ); 657 assert _d != null : "'LanguageOption' dependency not found."; 658 return _d; 659 } 660 /** 661 * Gets the {@code <LineSeparatorOption>} 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 <LineSeparatorOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "LineSeparatorOption" ); 677 assert _d != null : "'LineSeparatorOption' 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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 <LocaleVariantOption>} 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 <LocaleVariantOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "LocaleVariantOption" ); 717 assert _d != null : "'LocaleVariantOption' dependency not found."; 718 return _d; 719 } 720 /** 721 * Gets the {@code <ModelContextFactoryOption>} 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 <ModelContextFactoryOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModelContextFactoryOption" ); 737 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 738 return _d; 739 } 740 /** 741 * Gets the {@code <ModelOption>} 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 <ModelOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModelOption" ); 757 assert _d != null : "'ModelOption' dependency not found."; 758 return _d; 759 } 760 /** 761 * Gets the {@code <ModletLocationOption>} 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 <ModletLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModletLocationOption" ); 777 assert _d != null : "'ModletLocationOption' dependency not found."; 778 return _d; 779 } 780 /** 781 * Gets the {@code <ModletSchemaSystemIdOption>} 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 <ModletSchemaSystemIdOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModletSchemaSystemIdOption" ); 797 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 798 return _d; 799 } 800 /** 801 * Gets the {@code <ModuleLocationOption>} 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 <ModuleLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModuleLocationOption" ); 817 assert _d != null : "'ModuleLocationOption' dependency not found."; 818 return _d; 819 } 820 /** 821 * Gets the {@code <ModuleNameOption>} 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 <ModuleNameOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModuleNameOption" ); 837 assert _d != null : "'ModuleNameOption' dependency not found."; 838 return _d; 839 } 840 /** 841 * Gets the {@code <NoClasspathResolutionOption>} 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 <NoClasspathResolutionOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "NoClasspathResolutionOption" ); 857 assert _d != null : "'NoClasspathResolutionOption' dependency not found."; 858 return _d; 859 } 860 /** 861 * Gets the {@code <NoModelProcessingOption>} dependency. 862 * <p> 863 * 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. 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 <NoModelProcessingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 874 private org.apache.commons.cli.Option getNoModelProcessingOption() 875 { 876 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 877 assert _d != null : "'NoModelProcessingOption' dependency not found."; 878 return _d; 879 } 880 /** 881 * Gets the {@code <NoModelResourceValidation>} dependency. 882 * <p> 883 * 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. 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 <NoModelResourceValidation>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 894 private org.apache.commons.cli.Option getNoModelResourceValidation() 895 { 896 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 897 assert _d != null : "'NoModelResourceValidation' dependency not found."; 898 return _d; 899 } 900 /** 901 * Gets the {@code <NoModletResourceValidation>} dependency. 902 * <p> 903 * 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. 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 <NoModletResourceValidation>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 914 private org.apache.commons.cli.Option getNoModletResourceValidation() 915 { 916 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 917 assert _d != null : "'NoModletResourceValidation' dependency not found."; 918 return _d; 919 } 920 /** 921 * Gets the {@code <OutputEncodingOption>} dependency. 922 * <p> 923 * This method returns the {@code <JOMC CLI Output Encoding 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 <OutputEncodingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 934 private org.apache.commons.cli.Option getOutputEncodingOption() 935 { 936 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" ); 937 assert _d != null : "'OutputEncodingOption' dependency not found."; 938 return _d; 939 } 940 /** 941 * Gets the {@code <PlatformProviderLocationOption>} dependency. 942 * <p> 943 * 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. 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 <PlatformProviderLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 954 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 955 { 956 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 957 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 958 return _d; 959 } 960 /** 961 * Gets the {@code <ProviderLocationOption>} dependency. 962 * <p> 963 * This method returns the {@code <JOMC CLI 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 <ProviderLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 974 private org.apache.commons.cli.Option getProviderLocationOption() 975 { 976 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 977 assert _d != null : "'ProviderLocationOption' dependency not found."; 978 return _d; 979 } 980 /** 981 * Gets the {@code <SpecificationOption>} dependency. 982 * <p> 983 * This method returns the {@code <JOMC CLI Specification 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 <SpecificationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 994 private org.apache.commons.cli.Option getSpecificationOption() 995 { 996 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 997 assert _d != null : "'SpecificationOption' dependency not found."; 998 return _d; 999 } 1000 /** 1001 * Gets the {@code <TemplateEncodingOption>} dependency. 1002 * <p> 1003 * This method returns the {@code <JOMC CLI Template Encoding 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 <TemplateEncodingOption>} dependency. 1010 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 1011 */ 1012 @Deprecated 1013 @SuppressWarnings("unused") 1014 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1015 private org.apache.commons.cli.Option getTemplateEncodingOption() 1016 { 1017 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" ); 1018 assert _d != null : "'TemplateEncodingOption' dependency not found."; 1019 return _d; 1020 } 1021 /** 1022 * Gets the {@code <TemplateLocationOption>} dependency. 1023 * <p> 1024 * This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 1025 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 1026 * </p> 1027 * <dl> 1028 * <dt><b>Final:</b></dt><dd>No</dd> 1029 * </dl> 1030 * @return The {@code <TemplateLocationOption>} dependency. 1031 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 1032 */ 1033 @SuppressWarnings("unused") 1034 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1035 private org.apache.commons.cli.Option getTemplateLocationOption() 1036 { 1037 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" ); 1038 assert _d != null : "'TemplateLocationOption' dependency not found."; 1039 return _d; 1040 } 1041 /** 1042 * Gets the {@code <TemplateProfileOption>} dependency. 1043 * <p> 1044 * This method returns the {@code <JOMC CLI Template Profile 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 <TemplateProfileOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1055 private org.apache.commons.cli.Option getTemplateProfileOption() 1056 { 1057 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" ); 1058 assert _d != null : "'TemplateProfileOption' dependency not found."; 1059 return _d; 1060 } 1061 /** 1062 * Gets the {@code <TransformerLocationOption>} dependency. 1063 * <p> 1064 * This method returns the {@code <JOMC CLI Transformer Location 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 <TransformerLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1075 private org.apache.commons.cli.Option getTransformerLocationOption() 1076 { 1077 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 1078 assert _d != null : "'TransformerLocationOption' dependency not found."; 1079 return _d; 1080 } 1081 // </editor-fold> 1082 // SECTION-END 1083 // SECTION-START[Properties] 1084 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 1085 /** 1086 * Gets the value of the {@code <abbreviatedCommandName>} property. 1087 * <p><dl> 1088 * <dt><b>Final:</b></dt><dd>No</dd> 1089 * </dl></p> 1090 * @return Abbreviated name of the command. 1091 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1092 */ 1093 @SuppressWarnings("unused") 1094 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1095 private java.lang.String getAbbreviatedCommandName() 1096 { 1097 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 1098 assert _p != null : "'abbreviatedCommandName' property not found."; 1099 return _p; 1100 } 1101 /** 1102 * Gets the value of the {@code <applicationModlet>} property. 1103 * <p><dl> 1104 * <dt><b>Final:</b></dt><dd>Yes</dd> 1105 * </dl></p> 1106 * @return Name of the 'shaded' application modlet. 1107 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1108 */ 1109 @SuppressWarnings("unused") 1110 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1111 private java.lang.String getApplicationModlet() 1112 { 1113 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 1114 assert _p != null : "'applicationModlet' property not found."; 1115 return _p; 1116 } 1117 /** 1118 * Gets the value of the {@code <commandName>} property. 1119 * <p><dl> 1120 * <dt><b>Final:</b></dt><dd>No</dd> 1121 * </dl></p> 1122 * @return Name of the command. 1123 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1124 */ 1125 @SuppressWarnings("unused") 1126 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1127 private java.lang.String getCommandName() 1128 { 1129 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 1130 assert _p != null : "'commandName' property not found."; 1131 return _p; 1132 } 1133 /** 1134 * Gets the value of the {@code <modletExcludes>} property. 1135 * <p><dl> 1136 * <dt><b>Final:</b></dt><dd>Yes</dd> 1137 * </dl></p> 1138 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 1139 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1140 */ 1141 @SuppressWarnings("unused") 1142 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1143 private java.lang.String getModletExcludes() 1144 { 1145 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 1146 assert _p != null : "'modletExcludes' property not found."; 1147 return _p; 1148 } 1149 /** 1150 * Gets the value of the {@code <providerExcludes>} property. 1151 * <p><dl> 1152 * <dt><b>Final:</b></dt><dd>Yes</dd> 1153 * </dl></p> 1154 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 1155 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1156 */ 1157 @SuppressWarnings("unused") 1158 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1159 private java.lang.String getProviderExcludes() 1160 { 1161 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 1162 assert _p != null : "'providerExcludes' property not found."; 1163 return _p; 1164 } 1165 /** 1166 * Gets the value of the {@code <schemaExcludes>} property. 1167 * <p><dl> 1168 * <dt><b>Final:</b></dt><dd>Yes</dd> 1169 * </dl></p> 1170 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 1171 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1172 */ 1173 @SuppressWarnings("unused") 1174 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1175 private java.lang.String getSchemaExcludes() 1176 { 1177 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 1178 assert _p != null : "'schemaExcludes' property not found."; 1179 return _p; 1180 } 1181 /** 1182 * Gets the value of the {@code <serviceExcludes>} property. 1183 * <p><dl> 1184 * <dt><b>Final:</b></dt><dd>Yes</dd> 1185 * </dl></p> 1186 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 1187 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 1188 */ 1189 @SuppressWarnings("unused") 1190 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1191 private java.lang.String getServiceExcludes() 1192 { 1193 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 1194 assert _p != null : "'serviceExcludes' property not found."; 1195 return _p; 1196 } 1197 // </editor-fold> 1198 // SECTION-END 1199 // SECTION-START[Messages] 1200 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 1201 /** 1202 * Gets the text of the {@code <applicationTitle>} message. 1203 * <p><dl> 1204 * <dt><b>Languages:</b></dt> 1205 * <dd>English (default)</dd> 1206 * <dt><b>Final:</b></dt><dd>No</dd> 1207 * </dl></p> 1208 * @param locale The locale of the message to return. 1209 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 1210 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1211 */ 1212 @SuppressWarnings("unused") 1213 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1214 private String getApplicationTitle( final java.util.Locale locale ) 1215 { 1216 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 1217 assert _m != null : "'applicationTitle' message not found."; 1218 return _m; 1219 } 1220 /** 1221 * Gets the text of the {@code <cannotProcessMessage>} message. 1222 * <p><dl> 1223 * <dt><b>Languages:</b></dt> 1224 * <dd>English (default)</dd> 1225 * <dd>Deutsch</dd> 1226 * <dt><b>Final:</b></dt><dd>No</dd> 1227 * </dl></p> 1228 * @param locale The locale of the message to return. 1229 * @param itemInfo Format argument. 1230 * @param detailMessage Format argument. 1231 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 1232 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1233 */ 1234 @SuppressWarnings("unused") 1235 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1236 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 1237 { 1238 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 1239 assert _m != null : "'cannotProcessMessage' message not found."; 1240 return _m; 1241 } 1242 /** 1243 * Gets the text of the {@code <classpathElementInfo>} message. 1244 * <p><dl> 1245 * <dt><b>Languages:</b></dt> 1246 * <dd>English (default)</dd> 1247 * <dd>Deutsch</dd> 1248 * <dt><b>Final:</b></dt><dd>No</dd> 1249 * </dl></p> 1250 * @param locale The locale of the message to return. 1251 * @param classpathElement Format argument. 1252 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 1253 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1254 */ 1255 @SuppressWarnings("unused") 1256 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1257 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 1258 { 1259 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 1260 assert _m != null : "'classpathElementInfo' message not found."; 1261 return _m; 1262 } 1263 /** 1264 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 1265 * <p><dl> 1266 * <dt><b>Languages:</b></dt> 1267 * <dd>English (default)</dd> 1268 * <dd>Deutsch</dd> 1269 * <dt><b>Final:</b></dt><dd>No</dd> 1270 * </dl></p> 1271 * @param locale The locale of the message to return. 1272 * @param fileName Format argument. 1273 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 1274 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1275 */ 1276 @SuppressWarnings("unused") 1277 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1278 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1279 { 1280 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 1281 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 1282 return _m; 1283 } 1284 /** 1285 * Gets the text of the {@code <commandFailureMessage>} message. 1286 * <p><dl> 1287 * <dt><b>Languages:</b></dt> 1288 * <dd>English (default)</dd> 1289 * <dd>Deutsch</dd> 1290 * <dt><b>Final:</b></dt><dd>No</dd> 1291 * </dl></p> 1292 * @param locale The locale of the message to return. 1293 * @param toolName Format argument. 1294 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 1295 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1296 */ 1297 @SuppressWarnings("unused") 1298 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1299 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 1300 { 1301 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 1302 assert _m != null : "'commandFailureMessage' message not found."; 1303 return _m; 1304 } 1305 /** 1306 * Gets the text of the {@code <commandInfoMessage>} message. 1307 * <p><dl> 1308 * <dt><b>Languages:</b></dt> 1309 * <dd>English (default)</dd> 1310 * <dd>Deutsch</dd> 1311 * <dt><b>Final:</b></dt><dd>No</dd> 1312 * </dl></p> 1313 * @param locale The locale of the message to return. 1314 * @param toolName Format argument. 1315 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 1316 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1317 */ 1318 @SuppressWarnings("unused") 1319 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1320 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 1321 { 1322 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 1323 assert _m != null : "'commandInfoMessage' message not found."; 1324 return _m; 1325 } 1326 /** 1327 * Gets the text of the {@code <commandSuccessMessage>} message. 1328 * <p><dl> 1329 * <dt><b>Languages:</b></dt> 1330 * <dd>English (default)</dd> 1331 * <dd>Deutsch</dd> 1332 * <dt><b>Final:</b></dt><dd>No</dd> 1333 * </dl></p> 1334 * @param locale The locale of the message to return. 1335 * @param toolName Format argument. 1336 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 1337 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1338 */ 1339 @SuppressWarnings("unused") 1340 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1341 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 1342 { 1343 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 1344 assert _m != null : "'commandSuccessMessage' message not found."; 1345 return _m; 1346 } 1347 /** 1348 * Gets the text of the {@code <defaultLogLevelInfo>} message. 1349 * <p><dl> 1350 * <dt><b>Languages:</b></dt> 1351 * <dd>English (default)</dd> 1352 * <dd>Deutsch</dd> 1353 * <dt><b>Final:</b></dt><dd>No</dd> 1354 * </dl></p> 1355 * @param locale The locale of the message to return. 1356 * @param defaultLogLevel Format argument. 1357 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 1358 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1359 */ 1360 @SuppressWarnings("unused") 1361 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1362 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 1363 { 1364 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 1365 assert _m != null : "'defaultLogLevelInfo' message not found."; 1366 return _m; 1367 } 1368 /** 1369 * Gets the text of the {@code <deprecatedOptionMessage>} message. 1370 * <p><dl> 1371 * <dt><b>Languages:</b></dt> 1372 * <dd>English (default)</dd> 1373 * <dd>Deutsch</dd> 1374 * <dt><b>Final:</b></dt><dd>No</dd> 1375 * </dl></p> 1376 * @param locale The locale of the message to return. 1377 * @param deprecatedOption Format argument. 1378 * @param replacementOption Format argument. 1379 * @return The text of the {@code <deprecatedOptionMessage>} message for {@code locale}. 1380 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1381 */ 1382 @SuppressWarnings("unused") 1383 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1384 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption ) 1385 { 1386 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "deprecatedOptionMessage", locale, deprecatedOption, replacementOption ); 1387 assert _m != null : "'deprecatedOptionMessage' message not found."; 1388 return _m; 1389 } 1390 /** 1391 * Gets the text of the {@code <documentFileInfo>} message. 1392 * <p><dl> 1393 * <dt><b>Languages:</b></dt> 1394 * <dd>English (default)</dd> 1395 * <dd>Deutsch</dd> 1396 * <dt><b>Final:</b></dt><dd>No</dd> 1397 * </dl></p> 1398 * @param locale The locale of the message to return. 1399 * @param documentFile Format argument. 1400 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 1401 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1402 */ 1403 @SuppressWarnings("unused") 1404 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1405 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 1406 { 1407 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 1408 assert _m != null : "'documentFileInfo' message not found."; 1409 return _m; 1410 } 1411 /** 1412 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 1413 * <p><dl> 1414 * <dt><b>Languages:</b></dt> 1415 * <dd>English (default)</dd> 1416 * <dd>Deutsch</dd> 1417 * <dt><b>Final:</b></dt><dd>No</dd> 1418 * </dl></p> 1419 * @param locale The locale of the message to return. 1420 * @param fileName Format argument. 1421 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 1422 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1423 */ 1424 @SuppressWarnings("unused") 1425 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1426 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1427 { 1428 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 1429 assert _m != null : "'documentFileNotFoundWarning' message not found."; 1430 return _m; 1431 } 1432 /** 1433 * Gets the text of the {@code <excludedModletInfo>} message. 1434 * <p><dl> 1435 * <dt><b>Languages:</b></dt> 1436 * <dd>English (default)</dd> 1437 * <dd>Deutsch</dd> 1438 * <dt><b>Final:</b></dt><dd>No</dd> 1439 * </dl></p> 1440 * @param locale The locale of the message to return. 1441 * @param resourceName Format argument. 1442 * @param modletIdentifier Format argument. 1443 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 1444 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1445 */ 1446 @SuppressWarnings("unused") 1447 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1448 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1449 { 1450 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 1451 assert _m != null : "'excludedModletInfo' message not found."; 1452 return _m; 1453 } 1454 /** 1455 * Gets the text of the {@code <excludedProviderInfo>} message. 1456 * <p><dl> 1457 * <dt><b>Languages:</b></dt> 1458 * <dd>English (default)</dd> 1459 * <dd>Deutsch</dd> 1460 * <dt><b>Final:</b></dt><dd>No</dd> 1461 * </dl></p> 1462 * @param locale The locale of the message to return. 1463 * @param resourceName Format argument. 1464 * @param providerName Format argument. 1465 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 1466 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1467 */ 1468 @SuppressWarnings("unused") 1469 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1470 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1471 { 1472 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 1473 assert _m != null : "'excludedProviderInfo' message not found."; 1474 return _m; 1475 } 1476 /** 1477 * Gets the text of the {@code <excludedSchemaInfo>} message. 1478 * <p><dl> 1479 * <dt><b>Languages:</b></dt> 1480 * <dd>English (default)</dd> 1481 * <dd>Deutsch</dd> 1482 * <dt><b>Final:</b></dt><dd>No</dd> 1483 * </dl></p> 1484 * @param locale The locale of the message to return. 1485 * @param resourceName Format argument. 1486 * @param contextId Format argument. 1487 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1488 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1489 */ 1490 @SuppressWarnings("unused") 1491 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1492 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1493 { 1494 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1495 assert _m != null : "'excludedSchemaInfo' message not found."; 1496 return _m; 1497 } 1498 /** 1499 * Gets the text of the {@code <excludedServiceInfo>} message. 1500 * <p><dl> 1501 * <dt><b>Languages:</b></dt> 1502 * <dd>English (default)</dd> 1503 * <dd>Deutsch</dd> 1504 * <dt><b>Final:</b></dt><dd>No</dd> 1505 * </dl></p> 1506 * @param locale The locale of the message to return. 1507 * @param resourceName Format argument. 1508 * @param serviceName Format argument. 1509 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1510 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1511 */ 1512 @SuppressWarnings("unused") 1513 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1514 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1515 { 1516 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1517 assert _m != null : "'excludedServiceInfo' message not found."; 1518 return _m; 1519 } 1520 /** 1521 * Gets the text of the {@code <failedCreatingObjectMessage>} message. 1522 * <p><dl> 1523 * <dt><b>Languages:</b></dt> 1524 * <dd>English (default)</dd> 1525 * <dd>Deutsch</dd> 1526 * <dt><b>Final:</b></dt><dd>No</dd> 1527 * </dl></p> 1528 * @param locale The locale of the message to return. 1529 * @param objectInfo Format argument. 1530 * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}. 1531 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1532 */ 1533 @SuppressWarnings("unused") 1534 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1535 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo ) 1536 { 1537 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo ); 1538 assert _m != null : "'failedCreatingObjectMessage' message not found."; 1539 return _m; 1540 } 1541 /** 1542 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1543 * <p><dl> 1544 * <dt><b>Languages:</b></dt> 1545 * <dd>English (default)</dd> 1546 * <dd>Deutsch</dd> 1547 * <dt><b>Final:</b></dt><dd>Yes</dd> 1548 * </dl></p> 1549 * @param locale The locale of the message to return. 1550 * @param implementationIdentifier Format argument. 1551 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1552 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1553 */ 1554 @SuppressWarnings("unused") 1555 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1556 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1557 { 1558 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1559 assert _m != null : "'implementationNotFoundWarning' message not found."; 1560 return _m; 1561 } 1562 /** 1563 * Gets the text of the {@code <invalidModelMessage>} message. 1564 * <p><dl> 1565 * <dt><b>Languages:</b></dt> 1566 * <dd>English (default)</dd> 1567 * <dd>Deutsch</dd> 1568 * <dt><b>Final:</b></dt><dd>No</dd> 1569 * </dl></p> 1570 * @param locale The locale of the message to return. 1571 * @param modelIdentifier Format argument. 1572 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1573 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1574 */ 1575 @SuppressWarnings("unused") 1576 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1577 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1578 { 1579 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1580 assert _m != null : "'invalidModelMessage' message not found."; 1581 return _m; 1582 } 1583 /** 1584 * Gets the text of the {@code <longDescriptionMessage>} message. 1585 * <p><dl> 1586 * <dt><b>Languages:</b></dt> 1587 * <dd>English (default)</dd> 1588 * <dt><b>Final:</b></dt><dd>No</dd> 1589 * </dl></p> 1590 * @param locale The locale of the message to return. 1591 * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}. 1592 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1593 */ 1594 @SuppressWarnings("unused") 1595 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1596 private String getLongDescriptionMessage( final java.util.Locale locale ) 1597 { 1598 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1599 assert _m != null : "'longDescriptionMessage' message not found."; 1600 return _m; 1601 } 1602 /** 1603 * Gets the text of the {@code <moduleNotFoundWarning>} message. 1604 * <p><dl> 1605 * <dt><b>Languages:</b></dt> 1606 * <dd>English (default)</dd> 1607 * <dd>Deutsch</dd> 1608 * <dt><b>Final:</b></dt><dd>Yes</dd> 1609 * </dl></p> 1610 * @param locale The locale of the message to return. 1611 * @param moduleName Format argument. 1612 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1613 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1614 */ 1615 @SuppressWarnings("unused") 1616 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1617 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1618 { 1619 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1620 assert _m != null : "'moduleNotFoundWarning' message not found."; 1621 return _m; 1622 } 1623 /** 1624 * Gets the text of the {@code <readingMessage>} message. 1625 * <p><dl> 1626 * <dt><b>Languages:</b></dt> 1627 * <dd>English (default)</dd> 1628 * <dd>Deutsch</dd> 1629 * <dt><b>Final:</b></dt><dd>No</dd> 1630 * </dl></p> 1631 * @param locale The locale of the message to return. 1632 * @param locationInfo Format argument. 1633 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1634 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1635 */ 1636 @SuppressWarnings("unused") 1637 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1638 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1639 { 1640 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1641 assert _m != null : "'readingMessage' message not found."; 1642 return _m; 1643 } 1644 /** 1645 * Gets the text of the {@code <separator>} message. 1646 * <p><dl> 1647 * <dt><b>Languages:</b></dt> 1648 * <dd>English (default)</dd> 1649 * <dt><b>Final:</b></dt><dd>No</dd> 1650 * </dl></p> 1651 * @param locale The locale of the message to return. 1652 * @return The text of the {@code <separator>} message for {@code locale}. 1653 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1654 */ 1655 @SuppressWarnings("unused") 1656 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1657 private String getSeparator( final java.util.Locale locale ) 1658 { 1659 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1660 assert _m != null : "'separator' message not found."; 1661 return _m; 1662 } 1663 /** 1664 * Gets the text of the {@code <shortDescriptionMessage>} message. 1665 * <p><dl> 1666 * <dt><b>Languages:</b></dt> 1667 * <dd>English (default)</dd> 1668 * <dt><b>Final:</b></dt><dd>No</dd> 1669 * </dl></p> 1670 * @param locale The locale of the message to return. 1671 * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}. 1672 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1673 */ 1674 @SuppressWarnings("unused") 1675 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1676 private String getShortDescriptionMessage( final java.util.Locale locale ) 1677 { 1678 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1679 assert _m != null : "'shortDescriptionMessage' message not found."; 1680 return _m; 1681 } 1682 /** 1683 * Gets the text of the {@code <specificationNotFoundWarning>} message. 1684 * <p><dl> 1685 * <dt><b>Languages:</b></dt> 1686 * <dd>English (default)</dd> 1687 * <dd>Deutsch</dd> 1688 * <dt><b>Final:</b></dt><dd>Yes</dd> 1689 * </dl></p> 1690 * @param locale The locale of the message to return. 1691 * @param specificationIdentifier Format argument. 1692 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1693 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1694 */ 1695 @SuppressWarnings("unused") 1696 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1697 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1698 { 1699 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1700 assert _m != null : "'specificationNotFoundWarning' message not found."; 1701 return _m; 1702 } 1703 // </editor-fold> 1704 // SECTION-END 1705 // SECTION-START[Generated Command] 1706 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1707 /** 1708 * Gets the options of the command. 1709 * <p><strong>Options:</strong> 1710 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1711 * <tr class="TableSubHeadingColor"> 1712 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1713 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1714 * </tr> 1715 * <tr class="TableRow"> 1716 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1717 * <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td> 1718 * </tr> 1719 * <tr class="TableRow"> 1720 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1721 * <td align="left" valign="top" nowrap>JOMC CLI Country Option</td> 1722 * </tr> 1723 * <tr class="TableRow"> 1724 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1725 * <td align="left" valign="top" nowrap>JOMC CLI Default Template Encoding Option</td> 1726 * </tr> 1727 * <tr class="TableRow"> 1728 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1729 * <td align="left" valign="top" nowrap>JOMC CLI Default Template Profile Option</td> 1730 * </tr> 1731 * <tr class="TableRow"> 1732 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1733 * <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td> 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 Implementation 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 Indentation String 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 Input 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 Language 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 Line Separator 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 Locale Variant 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 ModelContextFactory Class Name 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 Model 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 Modlet Location 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 Modlet Schema System Id 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 Module Location 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 Module 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 No Classpath Resolution 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 No Model Processing 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 No Model Resource Validation 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 No Modlet Resource Validation 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 Output Encoding 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 Platform Provider Location 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 Provider Location 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 Specification 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 Template Encoding 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 Template Location 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 Template Profile 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 Transformer Location Option</td> 1830 * </tr> 1831 * </table> 1832 * </p> 1833 * @return The options of the command. 1834 */ 1835 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1836 @Override 1837 public org.apache.commons.cli.Options getOptions() 1838 { 1839 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1840 options.addOption( this.getClasspathOption() ); 1841 options.addOption( this.getCountryOption() ); 1842 options.addOption( this.getDefaultTemplateEncodingOption() ); 1843 options.addOption( this.getDefaultTemplateProfileOption() ); 1844 options.addOption( this.getDocumentsOption() ); 1845 options.addOption( this.getImplementationOption() ); 1846 options.addOption( this.getIndentationStringOption() ); 1847 options.addOption( this.getInputEncodingOption() ); 1848 options.addOption( this.getLanguageOption() ); 1849 options.addOption( this.getLineSeparatorOption() ); 1850 options.addOption( this.getLocaleVariantOption() ); 1851 options.addOption( this.getModelContextFactoryOption() ); 1852 options.addOption( this.getModelOption() ); 1853 options.addOption( this.getModletLocationOption() ); 1854 options.addOption( this.getModletSchemaSystemIdOption() ); 1855 options.addOption( this.getModuleLocationOption() ); 1856 options.addOption( this.getModuleNameOption() ); 1857 options.addOption( this.getNoClasspathResolutionOption() ); 1858 options.addOption( this.getNoModelProcessingOption() ); 1859 options.addOption( this.getNoModelResourceValidation() ); 1860 options.addOption( this.getNoModletResourceValidation() ); 1861 options.addOption( this.getOutputEncodingOption() ); 1862 options.addOption( this.getPlatformProviderLocationOption() ); 1863 options.addOption( this.getProviderLocationOption() ); 1864 options.addOption( this.getSpecificationOption() ); 1865 options.addOption( this.getTemplateEncodingOption() ); 1866 options.addOption( this.getTemplateLocationOption() ); 1867 options.addOption( this.getTemplateProfileOption() ); 1868 options.addOption( this.getTransformerLocationOption() ); 1869 return options; 1870 } 1871 // </editor-fold> 1872 // SECTION-END 1873}