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