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