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