1 // SECTION-START[License Header] 2 // <editor-fold defaultstate="collapsed" desc=" Generated License "> 3 /* 4 * Java Object Management and Configuration 5 * Copyright (C) Christian Schulte, 2005-206 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 12 * o Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 15 * o Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 17 * the documentation and/or other materials provided with the 18 * distribution. 19 * 20 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 21 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 22 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 23 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * $JOMC: AbstractClassFileProcessorCommand.java 4511 2012-04-24 01:59:23Z schulte2005 $ 32 * 33 */ 34 // </editor-fold> 35 // SECTION-END 36 package org.jomc.cli.commands; 37 38 import java.util.logging.Level; 39 import org.apache.commons.cli.CommandLine; 40 import org.jomc.tools.ClassFileProcessor; 41 42 // SECTION-START[Documentation] 43 // <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 44 /** 45 * JOMC CLI {@code ClassFileProcessor} based command implementation. 46 * 47 * <dl> 48 * <dt><b>Identifier:</b></dt><dd>JOMC CLI ClassFileProcessor Command</dd> 49 * <dt><b>Name:</b></dt><dd>JOMC CLI ClassFileProcessor Command</dd> 50 * <dt><b>Specifications:</b></dt> 51 * <dd>JOMC CLI Command @ 1.0</dd> 52 * <dt><b>Abstract:</b></dt><dd>Yes</dd> 53 * <dt><b>Final:</b></dt><dd>No</dd> 54 * <dt><b>Stateless:</b></dt><dd>No</dd> 55 * </dl> 56 * 57 * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.2 58 * @version 1.2.7 59 */ 60 // </editor-fold> 61 // SECTION-END 62 // SECTION-START[Annotations] 63 // <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> 64 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 65 // </editor-fold> 66 // SECTION-END 67 public abstract class AbstractClassFileProcessorCommand extends AbstractJomcToolCommand 68 { 69 // SECTION-START[Command] 70 // SECTION-END 71 // SECTION-START[AbstractClassFileProcessorCommand] 72 73 /** 74 * Creates a new {@code ClassFileProcessor} instance taking a command line. 75 * 76 * @param commandLine The command line to process. 77 * 78 * @return A new {@code ClassFileProcessor} instance as specified by the given command line. 79 * 80 * @throws NullPointerException if {@code commandLine} is {@code null}. 81 * @throws CommandExecutionException if creating a new instance fails. 82 */ 83 protected ClassFileProcessor createClassFileProcessor( final CommandLine commandLine ) 84 throws CommandExecutionException 85 { 86 if ( commandLine == null ) 87 { 88 throw new NullPointerException( "commandLine" ); 89 } 90 91 final String className = commandLine.hasOption( this.getClassFileProcessorOption().getOpt() ) 92 ? commandLine.getOptionValue( this.getClassFileProcessorOption().getOpt() ) 93 : ClassFileProcessor.class.getName(); 94 95 final ClassFileProcessor tool = this.createJomcTool( className, ClassFileProcessor.class, commandLine ); 96 return tool; 97 } 98 99 /** {@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.getNoClassProcessingOption().getOpt() ) ) 108 { 109 this.log( Level.INFO, this.getDisabledMessage( this.getLocale() ), null ); 110 } 111 else 112 { 113 this.processClassFiles( commandLine ); 114 } 115 } 116 117 /** 118 * Processes class files. 119 * 120 * @param commandLine The command line to execute. 121 * 122 * @throws CommandExecutionException if processing class files fails. 123 */ 124 protected abstract void processClassFiles( 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 AbstractClassFileProcessorCommand} instance. */ 130 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 131 public AbstractClassFileProcessorCommand() 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 <ClassFileProcessorOption>} dependency. 143 * <p> 144 * This method returns the {@code <JOMC CLI ClassFileProcessor Class Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 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 <ClassFileProcessorOption>} dependency. 151 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 152 */ 153 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 154 private org.apache.commons.cli.Option getClassFileProcessorOption() 155 { 156 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClassFileProcessorOption" ); 157 assert _d != null : "'ClassFileProcessorOption' dependency not found."; 158 return _d; 159 } 160 /** 161 * Gets the {@code <ClasspathOption>} dependency. 162 * <p> 163 * This method returns the {@code <JOMC CLI Classpath Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 164 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 165 * </p> 166 * <dl> 167 * <dt><b>Final:</b></dt><dd>No</dd> 168 * </dl> 169 * @return The {@code <ClasspathOption>} dependency. 170 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 171 */ 172 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 173 private org.apache.commons.cli.Option getClasspathOption() 174 { 175 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" ); 176 assert _d != null : "'ClasspathOption' dependency not found."; 177 return _d; 178 } 179 /** 180 * Gets the {@code <CountryOption>} dependency. 181 * <p> 182 * This method returns the {@code <JOMC CLI Country Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 183 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 184 * </p> 185 * <dl> 186 * <dt><b>Final:</b></dt><dd>No</dd> 187 * </dl> 188 * @return The {@code <CountryOption>} dependency. 189 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 190 */ 191 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 192 private org.apache.commons.cli.Option getCountryOption() 193 { 194 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" ); 195 assert _d != null : "'CountryOption' dependency not found."; 196 return _d; 197 } 198 /** 199 * Gets the {@code <DefaultTemplateProfileOption>} dependency. 200 * <p> 201 * 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. 202 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 203 * </p> 204 * <dl> 205 * <dt><b>Final:</b></dt><dd>No</dd> 206 * </dl> 207 * @return The {@code <DefaultTemplateProfileOption>} dependency. 208 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 209 */ 210 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 211 private org.apache.commons.cli.Option getDefaultTemplateProfileOption() 212 { 213 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" ); 214 assert _d != null : "'DefaultTemplateProfileOption' dependency not found."; 215 return _d; 216 } 217 /** 218 * Gets the {@code <DocumentsOption>} dependency. 219 * <p> 220 * This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 221 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 222 * </p> 223 * <dl> 224 * <dt><b>Final:</b></dt><dd>No</dd> 225 * </dl> 226 * @return The {@code <DocumentsOption>} dependency. 227 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 228 */ 229 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 230 private org.apache.commons.cli.Option getDocumentsOption() 231 { 232 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" ); 233 assert _d != null : "'DocumentsOption' dependency not found."; 234 return _d; 235 } 236 /** 237 * Gets the {@code <ImplementationOption>} dependency. 238 * <p> 239 * This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 240 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 241 * </p> 242 * <dl> 243 * <dt><b>Final:</b></dt><dd>No</dd> 244 * </dl> 245 * @return The {@code <ImplementationOption>} dependency. 246 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 247 */ 248 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 249 private org.apache.commons.cli.Option getImplementationOption() 250 { 251 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" ); 252 assert _d != null : "'ImplementationOption' dependency not found."; 253 return _d; 254 } 255 /** 256 * Gets the {@code <IndentationStringOption>} dependency. 257 * <p> 258 * This method returns the {@code <JOMC CLI Indentation String Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 259 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 260 * </p> 261 * <dl> 262 * <dt><b>Final:</b></dt><dd>No</dd> 263 * </dl> 264 * @return The {@code <IndentationStringOption>} dependency. 265 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 266 */ 267 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 268 private org.apache.commons.cli.Option getIndentationStringOption() 269 { 270 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" ); 271 assert _d != null : "'IndentationStringOption' dependency not found."; 272 return _d; 273 } 274 /** 275 * Gets the {@code <InputEncodingOption>} dependency. 276 * <p> 277 * This method returns the {@code <JOMC CLI Input Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 278 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 279 * </p> 280 * <dl> 281 * <dt><b>Final:</b></dt><dd>No</dd> 282 * </dl> 283 * @return The {@code <InputEncodingOption>} dependency. 284 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 285 */ 286 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 287 private org.apache.commons.cli.Option getInputEncodingOption() 288 { 289 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" ); 290 assert _d != null : "'InputEncodingOption' dependency not found."; 291 return _d; 292 } 293 /** 294 * Gets the {@code <LanguageOption>} dependency. 295 * <p> 296 * This method returns the {@code <JOMC CLI Language Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 297 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 298 * </p> 299 * <dl> 300 * <dt><b>Final:</b></dt><dd>No</dd> 301 * </dl> 302 * @return The {@code <LanguageOption>} dependency. 303 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 304 */ 305 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 306 private org.apache.commons.cli.Option getLanguageOption() 307 { 308 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" ); 309 assert _d != null : "'LanguageOption' dependency not found."; 310 return _d; 311 } 312 /** 313 * Gets the {@code <LineSeparatorOption>} dependency. 314 * <p> 315 * This method returns the {@code <JOMC CLI Line Separator Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 316 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 317 * </p> 318 * <dl> 319 * <dt><b>Final:</b></dt><dd>No</dd> 320 * </dl> 321 * @return The {@code <LineSeparatorOption>} dependency. 322 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 323 */ 324 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 325 private org.apache.commons.cli.Option getLineSeparatorOption() 326 { 327 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" ); 328 assert _d != null : "'LineSeparatorOption' dependency not found."; 329 return _d; 330 } 331 /** 332 * Gets the {@code <Locale>} dependency. 333 * <p> 334 * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. 335 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 336 * </p> 337 * <dl> 338 * <dt><b>Final:</b></dt><dd>No</dd> 339 * </dl> 340 * @return The {@code <Locale>} dependency. 341 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 342 */ 343 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 344 private java.util.Locale getLocale() 345 { 346 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); 347 assert _d != null : "'Locale' dependency not found."; 348 return _d; 349 } 350 /** 351 * Gets the {@code <LocaleVariantOption>} dependency. 352 * <p> 353 * This method returns the {@code <JOMC CLI Locale Variant Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 354 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 355 * </p> 356 * <dl> 357 * <dt><b>Final:</b></dt><dd>No</dd> 358 * </dl> 359 * @return The {@code <LocaleVariantOption>} dependency. 360 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 361 */ 362 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 363 private org.apache.commons.cli.Option getLocaleVariantOption() 364 { 365 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" ); 366 assert _d != null : "'LocaleVariantOption' dependency not found."; 367 return _d; 368 } 369 /** 370 * Gets the {@code <ModelContextFactoryOption>} dependency. 371 * <p> 372 * 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. 373 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 374 * </p> 375 * <dl> 376 * <dt><b>Final:</b></dt><dd>No</dd> 377 * </dl> 378 * @return The {@code <ModelContextFactoryOption>} dependency. 379 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 380 */ 381 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 382 private org.apache.commons.cli.Option getModelContextFactoryOption() 383 { 384 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" ); 385 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 386 return _d; 387 } 388 /** 389 * Gets the {@code <ModelOption>} dependency. 390 * <p> 391 * This method returns the {@code <JOMC CLI Model 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 <ModelOption>} dependency. 398 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 399 */ 400 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 401 private org.apache.commons.cli.Option getModelOption() 402 { 403 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" ); 404 assert _d != null : "'ModelOption' dependency not found."; 405 return _d; 406 } 407 /** 408 * Gets the {@code <ModletLocationOption>} dependency. 409 * <p> 410 * This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 411 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 412 * </p> 413 * <dl> 414 * <dt><b>Final:</b></dt><dd>No</dd> 415 * </dl> 416 * @return The {@code <ModletLocationOption>} dependency. 417 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 418 */ 419 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 420 private org.apache.commons.cli.Option getModletLocationOption() 421 { 422 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" ); 423 assert _d != null : "'ModletLocationOption' dependency not found."; 424 return _d; 425 } 426 /** 427 * Gets the {@code <ModletSchemaSystemIdOption>} dependency. 428 * <p> 429 * 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. 430 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 431 * </p> 432 * <dl> 433 * <dt><b>Final:</b></dt><dd>No</dd> 434 * </dl> 435 * @return The {@code <ModletSchemaSystemIdOption>} dependency. 436 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 437 */ 438 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 439 private org.apache.commons.cli.Option getModletSchemaSystemIdOption() 440 { 441 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" ); 442 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 443 return _d; 444 } 445 /** 446 * Gets the {@code <ModuleLocationOption>} dependency. 447 * <p> 448 * This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 449 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 450 * </p> 451 * <dl> 452 * <dt><b>Final:</b></dt><dd>No</dd> 453 * </dl> 454 * @return The {@code <ModuleLocationOption>} dependency. 455 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 456 */ 457 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 458 private org.apache.commons.cli.Option getModuleLocationOption() 459 { 460 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" ); 461 assert _d != null : "'ModuleLocationOption' dependency not found."; 462 return _d; 463 } 464 /** 465 * Gets the {@code <ModuleNameOption>} dependency. 466 * <p> 467 * This method returns the {@code <JOMC CLI Module Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 468 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 469 * </p> 470 * <dl> 471 * <dt><b>Final:</b></dt><dd>No</dd> 472 * </dl> 473 * @return The {@code <ModuleNameOption>} dependency. 474 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 475 */ 476 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 477 private org.apache.commons.cli.Option getModuleNameOption() 478 { 479 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" ); 480 assert _d != null : "'ModuleNameOption' dependency not found."; 481 return _d; 482 } 483 /** 484 * Gets the {@code <NoClassProcessingOption>} dependency. 485 * <p> 486 * This method returns the {@code <JOMC CLI No Class File Processing Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 487 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 488 * </p> 489 * <dl> 490 * <dt><b>Final:</b></dt><dd>No</dd> 491 * </dl> 492 * @return The {@code <NoClassProcessingOption>} dependency. 493 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 494 */ 495 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 496 private org.apache.commons.cli.Option getNoClassProcessingOption() 497 { 498 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClassProcessingOption" ); 499 assert _d != null : "'NoClassProcessingOption' dependency not found."; 500 return _d; 501 } 502 /** 503 * Gets the {@code <NoClasspathResolutionOption>} dependency. 504 * <p> 505 * 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. 506 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 507 * </p> 508 * <dl> 509 * <dt><b>Final:</b></dt><dd>No</dd> 510 * </dl> 511 * @return The {@code <NoClasspathResolutionOption>} dependency. 512 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 513 */ 514 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.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 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 534 private org.apache.commons.cli.Option getNoModelProcessingOption() 535 { 536 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 537 assert _d != null : "'NoModelProcessingOption' dependency not found."; 538 return _d; 539 } 540 /** 541 * Gets the {@code <NoModelResourceValidation>} dependency. 542 * <p> 543 * 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. 544 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 545 * </p> 546 * <dl> 547 * <dt><b>Final:</b></dt><dd>No</dd> 548 * </dl> 549 * @return The {@code <NoModelResourceValidation>} dependency. 550 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 551 */ 552 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 553 private org.apache.commons.cli.Option getNoModelResourceValidation() 554 { 555 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 556 assert _d != null : "'NoModelResourceValidation' dependency not found."; 557 return _d; 558 } 559 /** 560 * Gets the {@code <NoModletResourceValidation>} dependency. 561 * <p> 562 * 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. 563 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 564 * </p> 565 * <dl> 566 * <dt><b>Final:</b></dt><dd>No</dd> 567 * </dl> 568 * @return The {@code <NoModletResourceValidation>} dependency. 569 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 570 */ 571 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 572 private org.apache.commons.cli.Option getNoModletResourceValidation() 573 { 574 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 575 assert _d != null : "'NoModletResourceValidation' dependency not found."; 576 return _d; 577 } 578 /** 579 * Gets the {@code <OutputEncodingOption>} dependency. 580 * <p> 581 * This method returns the {@code <JOMC CLI Output Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 582 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 583 * </p> 584 * <dl> 585 * <dt><b>Final:</b></dt><dd>No</dd> 586 * </dl> 587 * @return The {@code <OutputEncodingOption>} dependency. 588 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 589 */ 590 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 591 private org.apache.commons.cli.Option getOutputEncodingOption() 592 { 593 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" ); 594 assert _d != null : "'OutputEncodingOption' dependency not found."; 595 return _d; 596 } 597 /** 598 * Gets the {@code <PlatformProviderLocationOption>} dependency. 599 * <p> 600 * 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. 601 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 602 * </p> 603 * <dl> 604 * <dt><b>Final:</b></dt><dd>No</dd> 605 * </dl> 606 * @return The {@code <PlatformProviderLocationOption>} dependency. 607 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 608 */ 609 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 610 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 611 { 612 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 613 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 614 return _d; 615 } 616 /** 617 * Gets the {@code <ProviderLocationOption>} dependency. 618 * <p> 619 * This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 620 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 621 * </p> 622 * <dl> 623 * <dt><b>Final:</b></dt><dd>No</dd> 624 * </dl> 625 * @return The {@code <ProviderLocationOption>} dependency. 626 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 627 */ 628 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 629 private org.apache.commons.cli.Option getProviderLocationOption() 630 { 631 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 632 assert _d != null : "'ProviderLocationOption' dependency not found."; 633 return _d; 634 } 635 /** 636 * Gets the {@code <SpecificationOption>} dependency. 637 * <p> 638 * This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 639 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 640 * </p> 641 * <dl> 642 * <dt><b>Final:</b></dt><dd>No</dd> 643 * </dl> 644 * @return The {@code <SpecificationOption>} dependency. 645 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 646 */ 647 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 648 private org.apache.commons.cli.Option getSpecificationOption() 649 { 650 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 651 assert _d != null : "'SpecificationOption' dependency not found."; 652 return _d; 653 } 654 /** 655 * Gets the {@code <TemplateEncodingOption>} dependency. 656 * <p> 657 * This method returns the {@code <JOMC CLI Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 658 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 659 * </p> 660 * <dl> 661 * <dt><b>Final:</b></dt><dd>No</dd> 662 * </dl> 663 * @return The {@code <TemplateEncodingOption>} dependency. 664 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 665 */ 666 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 667 private org.apache.commons.cli.Option getTemplateEncodingOption() 668 { 669 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" ); 670 assert _d != null : "'TemplateEncodingOption' dependency not found."; 671 return _d; 672 } 673 /** 674 * Gets the {@code <TemplateLocationOption>} dependency. 675 * <p> 676 * This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 677 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 678 * </p> 679 * <dl> 680 * <dt><b>Final:</b></dt><dd>No</dd> 681 * </dl> 682 * @return The {@code <TemplateLocationOption>} dependency. 683 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 684 */ 685 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 686 private org.apache.commons.cli.Option getTemplateLocationOption() 687 { 688 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" ); 689 assert _d != null : "'TemplateLocationOption' dependency not found."; 690 return _d; 691 } 692 /** 693 * Gets the {@code <TemplateProfileOption>} dependency. 694 * <p> 695 * This method returns the {@code <JOMC CLI Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 696 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 697 * </p> 698 * <dl> 699 * <dt><b>Final:</b></dt><dd>No</dd> 700 * </dl> 701 * @return The {@code <TemplateProfileOption>} dependency. 702 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 703 */ 704 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 705 private org.apache.commons.cli.Option getTemplateProfileOption() 706 { 707 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" ); 708 assert _d != null : "'TemplateProfileOption' dependency not found."; 709 return _d; 710 } 711 /** 712 * Gets the {@code <TransformerLocationOption>} dependency. 713 * <p> 714 * This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 715 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 716 * </p> 717 * <dl> 718 * <dt><b>Final:</b></dt><dd>No</dd> 719 * </dl> 720 * @return The {@code <TransformerLocationOption>} dependency. 721 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 722 */ 723 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 724 private org.apache.commons.cli.Option getTransformerLocationOption() 725 { 726 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 727 assert _d != null : "'TransformerLocationOption' dependency not found."; 728 return _d; 729 } 730 // </editor-fold> 731 // SECTION-END 732 // SECTION-START[Properties] 733 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 734 /** 735 * Gets the value of the {@code <abbreviatedCommandName>} property. 736 * <p><dl> 737 * <dt><b>Final:</b></dt><dd>No</dd> 738 * </dl></p> 739 * @return Abbreviated name of the command. 740 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 741 */ 742 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 743 private java.lang.String getAbbreviatedCommandName() 744 { 745 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 746 assert _p != null : "'abbreviatedCommandName' property not found."; 747 return _p; 748 } 749 /** 750 * Gets the value of the {@code <applicationModlet>} property. 751 * <p><dl> 752 * <dt><b>Final:</b></dt><dd>Yes</dd> 753 * </dl></p> 754 * @return Name of the 'shaded' application modlet. 755 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 756 */ 757 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 758 private java.lang.String getApplicationModlet() 759 { 760 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 761 assert _p != null : "'applicationModlet' property not found."; 762 return _p; 763 } 764 /** 765 * Gets the value of the {@code <commandName>} property. 766 * <p><dl> 767 * <dt><b>Final:</b></dt><dd>No</dd> 768 * </dl></p> 769 * @return Name of the command. 770 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 771 */ 772 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 773 private java.lang.String getCommandName() 774 { 775 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 776 assert _p != null : "'commandName' property not found."; 777 return _p; 778 } 779 /** 780 * Gets the value of the {@code <modletExcludes>} property. 781 * <p><dl> 782 * <dt><b>Final:</b></dt><dd>Yes</dd> 783 * </dl></p> 784 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 785 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 786 */ 787 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 788 private java.lang.String getModletExcludes() 789 { 790 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 791 assert _p != null : "'modletExcludes' property not found."; 792 return _p; 793 } 794 /** 795 * Gets the value of the {@code <providerExcludes>} property. 796 * <p><dl> 797 * <dt><b>Final:</b></dt><dd>Yes</dd> 798 * </dl></p> 799 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 800 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 801 */ 802 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 803 private java.lang.String getProviderExcludes() 804 { 805 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 806 assert _p != null : "'providerExcludes' property not found."; 807 return _p; 808 } 809 /** 810 * Gets the value of the {@code <schemaExcludes>} property. 811 * <p><dl> 812 * <dt><b>Final:</b></dt><dd>Yes</dd> 813 * </dl></p> 814 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 815 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 816 */ 817 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 818 private java.lang.String getSchemaExcludes() 819 { 820 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 821 assert _p != null : "'schemaExcludes' property not found."; 822 return _p; 823 } 824 /** 825 * Gets the value of the {@code <serviceExcludes>} property. 826 * <p><dl> 827 * <dt><b>Final:</b></dt><dd>Yes</dd> 828 * </dl></p> 829 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 830 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 831 */ 832 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 833 private java.lang.String getServiceExcludes() 834 { 835 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 836 assert _p != null : "'serviceExcludes' property not found."; 837 return _p; 838 } 839 // </editor-fold> 840 // SECTION-END 841 // SECTION-START[Messages] 842 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 843 /** 844 * Gets the text of the {@code <applicationTitle>} message. 845 * <p><dl> 846 * <dt><b>Languages:</b></dt> 847 * <dd>English (default)</dd> 848 * <dt><b>Final:</b></dt><dd>No</dd> 849 * </dl></p> 850 * @param locale The locale of the message to return. 851 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 852 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 853 */ 854 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 855 private String getApplicationTitle( final java.util.Locale locale ) 856 { 857 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 858 assert _m != null : "'applicationTitle' message not found."; 859 return _m; 860 } 861 /** 862 * Gets the text of the {@code <cannotProcessMessage>} message. 863 * <p><dl> 864 * <dt><b>Languages:</b></dt> 865 * <dd>English (default)</dd> 866 * <dd>Deutsch</dd> 867 * <dt><b>Final:</b></dt><dd>No</dd> 868 * </dl></p> 869 * @param locale The locale of the message to return. 870 * @param itemInfo Format argument. 871 * @param detailMessage Format argument. 872 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 873 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 874 */ 875 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 876 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 877 { 878 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 879 assert _m != null : "'cannotProcessMessage' message not found."; 880 return _m; 881 } 882 /** 883 * Gets the text of the {@code <classpathElementInfo>} message. 884 * <p><dl> 885 * <dt><b>Languages:</b></dt> 886 * <dd>English (default)</dd> 887 * <dd>Deutsch</dd> 888 * <dt><b>Final:</b></dt><dd>No</dd> 889 * </dl></p> 890 * @param locale The locale of the message to return. 891 * @param classpathElement Format argument. 892 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 893 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 894 */ 895 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 896 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 897 { 898 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 899 assert _m != null : "'classpathElementInfo' message not found."; 900 return _m; 901 } 902 /** 903 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 904 * <p><dl> 905 * <dt><b>Languages:</b></dt> 906 * <dd>English (default)</dd> 907 * <dd>Deutsch</dd> 908 * <dt><b>Final:</b></dt><dd>No</dd> 909 * </dl></p> 910 * @param locale The locale of the message to return. 911 * @param fileName Format argument. 912 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 913 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 914 */ 915 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 916 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 917 { 918 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 919 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 920 return _m; 921 } 922 /** 923 * Gets the text of the {@code <commandFailureMessage>} message. 924 * <p><dl> 925 * <dt><b>Languages:</b></dt> 926 * <dd>English (default)</dd> 927 * <dd>Deutsch</dd> 928 * <dt><b>Final:</b></dt><dd>No</dd> 929 * </dl></p> 930 * @param locale The locale of the message to return. 931 * @param toolName Format argument. 932 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 933 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 934 */ 935 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 936 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 937 { 938 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 939 assert _m != null : "'commandFailureMessage' message not found."; 940 return _m; 941 } 942 /** 943 * Gets the text of the {@code <commandInfoMessage>} message. 944 * <p><dl> 945 * <dt><b>Languages:</b></dt> 946 * <dd>English (default)</dd> 947 * <dd>Deutsch</dd> 948 * <dt><b>Final:</b></dt><dd>No</dd> 949 * </dl></p> 950 * @param locale The locale of the message to return. 951 * @param toolName Format argument. 952 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 953 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 954 */ 955 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 956 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 957 { 958 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 959 assert _m != null : "'commandInfoMessage' message not found."; 960 return _m; 961 } 962 /** 963 * Gets the text of the {@code <commandSuccessMessage>} 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 toolName Format argument. 972 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 973 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 974 */ 975 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 976 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 977 { 978 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 979 assert _m != null : "'commandSuccessMessage' message not found."; 980 return _m; 981 } 982 /** 983 * Gets the text of the {@code <defaultLogLevelInfo>} message. 984 * <p><dl> 985 * <dt><b>Languages:</b></dt> 986 * <dd>English (default)</dd> 987 * <dd>Deutsch</dd> 988 * <dt><b>Final:</b></dt><dd>No</dd> 989 * </dl></p> 990 * @param locale The locale of the message to return. 991 * @param defaultLogLevel Format argument. 992 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 993 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 994 */ 995 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 996 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 997 { 998 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 999 assert _m != null : "'defaultLogLevelInfo' message not found."; 1000 return _m; 1001 } 1002 /** 1003 * Gets the text of the {@code <disabledMessage>} message. 1004 * <p><dl> 1005 * <dt><b>Languages:</b></dt> 1006 * <dd>English (default)</dd> 1007 * <dd>Deutsch</dd> 1008 * <dt><b>Final:</b></dt><dd>No</dd> 1009 * </dl></p> 1010 * @param locale The locale of the message to return. 1011 * @return The text of the {@code <disabledMessage>} message for {@code locale}. 1012 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1013 */ 1014 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1015 private String getDisabledMessage( final java.util.Locale locale ) 1016 { 1017 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale ); 1018 assert _m != null : "'disabledMessage' message not found."; 1019 return _m; 1020 } 1021 /** 1022 * Gets the text of the {@code <documentFileInfo>} message. 1023 * <p><dl> 1024 * <dt><b>Languages:</b></dt> 1025 * <dd>English (default)</dd> 1026 * <dd>Deutsch</dd> 1027 * <dt><b>Final:</b></dt><dd>No</dd> 1028 * </dl></p> 1029 * @param locale The locale of the message to return. 1030 * @param documentFile Format argument. 1031 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 1032 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1033 */ 1034 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1035 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 1036 { 1037 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 1038 assert _m != null : "'documentFileInfo' message not found."; 1039 return _m; 1040 } 1041 /** 1042 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 1043 * <p><dl> 1044 * <dt><b>Languages:</b></dt> 1045 * <dd>English (default)</dd> 1046 * <dd>Deutsch</dd> 1047 * <dt><b>Final:</b></dt><dd>No</dd> 1048 * </dl></p> 1049 * @param locale The locale of the message to return. 1050 * @param fileName Format argument. 1051 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 1052 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1053 */ 1054 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1055 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1056 { 1057 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 1058 assert _m != null : "'documentFileNotFoundWarning' message not found."; 1059 return _m; 1060 } 1061 /** 1062 * Gets the text of the {@code <excludedModletInfo>} 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 resourceName Format argument. 1071 * @param modletIdentifier Format argument. 1072 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 1073 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1074 */ 1075 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1076 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1077 { 1078 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 1079 assert _m != null : "'excludedModletInfo' message not found."; 1080 return _m; 1081 } 1082 /** 1083 * Gets the text of the {@code <excludedProviderInfo>} 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 resourceName Format argument. 1092 * @param providerName Format argument. 1093 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 1094 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1095 */ 1096 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1097 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1098 { 1099 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 1100 assert _m != null : "'excludedProviderInfo' message not found."; 1101 return _m; 1102 } 1103 /** 1104 * Gets the text of the {@code <excludedSchemaInfo>} 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 resourceName Format argument. 1113 * @param contextId Format argument. 1114 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1115 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1116 */ 1117 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1118 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1119 { 1120 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1121 assert _m != null : "'excludedSchemaInfo' message not found."; 1122 return _m; 1123 } 1124 /** 1125 * Gets the text of the {@code <excludedServiceInfo>} message. 1126 * <p><dl> 1127 * <dt><b>Languages:</b></dt> 1128 * <dd>English (default)</dd> 1129 * <dd>Deutsch</dd> 1130 * <dt><b>Final:</b></dt><dd>No</dd> 1131 * </dl></p> 1132 * @param locale The locale of the message to return. 1133 * @param resourceName Format argument. 1134 * @param serviceName Format argument. 1135 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1136 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1137 */ 1138 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1139 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1140 { 1141 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1142 assert _m != null : "'excludedServiceInfo' message not found."; 1143 return _m; 1144 } 1145 /** 1146 * Gets the text of the {@code <failedCreatingObjectMessage>} 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 objectInfo Format argument. 1155 * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}. 1156 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1157 */ 1158 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1159 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo ) 1160 { 1161 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo ); 1162 assert _m != null : "'failedCreatingObjectMessage' message not found."; 1163 return _m; 1164 } 1165 /** 1166 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1167 * <p><dl> 1168 * <dt><b>Languages:</b></dt> 1169 * <dd>English (default)</dd> 1170 * <dd>Deutsch</dd> 1171 * <dt><b>Final:</b></dt><dd>Yes</dd> 1172 * </dl></p> 1173 * @param locale The locale of the message to return. 1174 * @param implementationIdentifier Format argument. 1175 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1176 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1177 */ 1178 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1179 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1180 { 1181 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1182 assert _m != null : "'implementationNotFoundWarning' message not found."; 1183 return _m; 1184 } 1185 /** 1186 * Gets the text of the {@code <invalidModelMessage>} message. 1187 * <p><dl> 1188 * <dt><b>Languages:</b></dt> 1189 * <dd>English (default)</dd> 1190 * <dd>Deutsch</dd> 1191 * <dt><b>Final:</b></dt><dd>No</dd> 1192 * </dl></p> 1193 * @param locale The locale of the message to return. 1194 * @param modelIdentifier Format argument. 1195 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1196 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1197 */ 1198 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1199 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1200 { 1201 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1202 assert _m != null : "'invalidModelMessage' message not found."; 1203 return _m; 1204 } 1205 /** 1206 * Gets the text of the {@code <longDescriptionMessage>} message. 1207 * <p><dl> 1208 * <dt><b>Languages:</b></dt> 1209 * <dd>English (default)</dd> 1210 * <dt><b>Final:</b></dt><dd>No</dd> 1211 * </dl></p> 1212 * @param locale The locale of the message to return. 1213 * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}. 1214 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1215 */ 1216 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1217 private String getLongDescriptionMessage( final java.util.Locale locale ) 1218 { 1219 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1220 assert _m != null : "'longDescriptionMessage' message not found."; 1221 return _m; 1222 } 1223 /** 1224 * Gets the text of the {@code <moduleNotFoundWarning>} message. 1225 * <p><dl> 1226 * <dt><b>Languages:</b></dt> 1227 * <dd>English (default)</dd> 1228 * <dd>Deutsch</dd> 1229 * <dt><b>Final:</b></dt><dd>Yes</dd> 1230 * </dl></p> 1231 * @param locale The locale of the message to return. 1232 * @param moduleName Format argument. 1233 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1234 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1235 */ 1236 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1237 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1238 { 1239 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1240 assert _m != null : "'moduleNotFoundWarning' message not found."; 1241 return _m; 1242 } 1243 /** 1244 * Gets the text of the {@code <readingMessage>} message. 1245 * <p><dl> 1246 * <dt><b>Languages:</b></dt> 1247 * <dd>English (default)</dd> 1248 * <dd>Deutsch</dd> 1249 * <dt><b>Final:</b></dt><dd>No</dd> 1250 * </dl></p> 1251 * @param locale The locale of the message to return. 1252 * @param locationInfo Format argument. 1253 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1254 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1255 */ 1256 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1257 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1258 { 1259 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1260 assert _m != null : "'readingMessage' message not found."; 1261 return _m; 1262 } 1263 /** 1264 * Gets the text of the {@code <separator>} message. 1265 * <p><dl> 1266 * <dt><b>Languages:</b></dt> 1267 * <dd>English (default)</dd> 1268 * <dt><b>Final:</b></dt><dd>No</dd> 1269 * </dl></p> 1270 * @param locale The locale of the message to return. 1271 * @return The text of the {@code <separator>} message for {@code locale}. 1272 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1273 */ 1274 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1275 private String getSeparator( final java.util.Locale locale ) 1276 { 1277 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1278 assert _m != null : "'separator' message not found."; 1279 return _m; 1280 } 1281 /** 1282 * Gets the text of the {@code <shortDescriptionMessage>} message. 1283 * <p><dl> 1284 * <dt><b>Languages:</b></dt> 1285 * <dd>English (default)</dd> 1286 * <dt><b>Final:</b></dt><dd>No</dd> 1287 * </dl></p> 1288 * @param locale The locale of the message to return. 1289 * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}. 1290 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1291 */ 1292 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1293 private String getShortDescriptionMessage( final java.util.Locale locale ) 1294 { 1295 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1296 assert _m != null : "'shortDescriptionMessage' message not found."; 1297 return _m; 1298 } 1299 /** 1300 * Gets the text of the {@code <specificationNotFoundWarning>} message. 1301 * <p><dl> 1302 * <dt><b>Languages:</b></dt> 1303 * <dd>English (default)</dd> 1304 * <dd>Deutsch</dd> 1305 * <dt><b>Final:</b></dt><dd>Yes</dd> 1306 * </dl></p> 1307 * @param locale The locale of the message to return. 1308 * @param specificationIdentifier Format argument. 1309 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1310 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1311 */ 1312 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1313 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1314 { 1315 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1316 assert _m != null : "'specificationNotFoundWarning' message not found."; 1317 return _m; 1318 } 1319 // </editor-fold> 1320 // SECTION-END 1321 // SECTION-START[Generated Command] 1322 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1323 /** 1324 * Gets the options of the command. 1325 * <p><strong>Options:</strong> 1326 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1327 * <tr class="TableSubHeadingColor"> 1328 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1329 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1330 * </tr> 1331 * <tr class="TableRow"> 1332 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1333 * <td align="left" valign="top" nowrap>JOMC CLI ClassFileProcessor Class Name Option</td> 1334 * </tr> 1335 * <tr class="TableRow"> 1336 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1337 * <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td> 1338 * </tr> 1339 * <tr class="TableRow"> 1340 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1341 * <td align="left" valign="top" nowrap>JOMC CLI Country Option</td> 1342 * </tr> 1343 * <tr class="TableRow"> 1344 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1345 * <td align="left" valign="top" nowrap>JOMC CLI Default Template Profile Option</td> 1346 * </tr> 1347 * <tr class="TableRow"> 1348 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1349 * <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td> 1350 * </tr> 1351 * <tr class="TableRow"> 1352 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1353 * <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td> 1354 * </tr> 1355 * <tr class="TableRow"> 1356 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1357 * <td align="left" valign="top" nowrap>JOMC CLI Indentation String Option</td> 1358 * </tr> 1359 * <tr class="TableRow"> 1360 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1361 * <td align="left" valign="top" nowrap>JOMC CLI Input Encoding Option</td> 1362 * </tr> 1363 * <tr class="TableRow"> 1364 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1365 * <td align="left" valign="top" nowrap>JOMC CLI Language Option</td> 1366 * </tr> 1367 * <tr class="TableRow"> 1368 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1369 * <td align="left" valign="top" nowrap>JOMC CLI Line Separator Option</td> 1370 * </tr> 1371 * <tr class="TableRow"> 1372 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1373 * <td align="left" valign="top" nowrap>JOMC CLI Locale Variant Option</td> 1374 * </tr> 1375 * <tr class="TableRow"> 1376 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1377 * <td align="left" valign="top" nowrap>JOMC CLI ModelContextFactory Class Name Option</td> 1378 * </tr> 1379 * <tr class="TableRow"> 1380 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1381 * <td align="left" valign="top" nowrap>JOMC CLI Model Option</td> 1382 * </tr> 1383 * <tr class="TableRow"> 1384 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1385 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td> 1386 * </tr> 1387 * <tr class="TableRow"> 1388 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1389 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td> 1390 * </tr> 1391 * <tr class="TableRow"> 1392 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1393 * <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td> 1394 * </tr> 1395 * <tr class="TableRow"> 1396 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1397 * <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td> 1398 * </tr> 1399 * <tr class="TableRow"> 1400 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1401 * <td align="left" valign="top" nowrap>JOMC CLI No Class File Processing Option</td> 1402 * </tr> 1403 * <tr class="TableRow"> 1404 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1405 * <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td> 1406 * </tr> 1407 * <tr class="TableRow"> 1408 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1409 * <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td> 1410 * </tr> 1411 * <tr class="TableRow"> 1412 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1413 * <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td> 1414 * </tr> 1415 * <tr class="TableRow"> 1416 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1417 * <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td> 1418 * </tr> 1419 * <tr class="TableRow"> 1420 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1421 * <td align="left" valign="top" nowrap>JOMC CLI Output Encoding Option</td> 1422 * </tr> 1423 * <tr class="TableRow"> 1424 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1425 * <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td> 1426 * </tr> 1427 * <tr class="TableRow"> 1428 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1429 * <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td> 1430 * </tr> 1431 * <tr class="TableRow"> 1432 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1433 * <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td> 1434 * </tr> 1435 * <tr class="TableRow"> 1436 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1437 * <td align="left" valign="top" nowrap>JOMC CLI Template Encoding Option</td> 1438 * </tr> 1439 * <tr class="TableRow"> 1440 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1441 * <td align="left" valign="top" nowrap>JOMC CLI Template Location Option</td> 1442 * </tr> 1443 * <tr class="TableRow"> 1444 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1445 * <td align="left" valign="top" nowrap>JOMC CLI Template Profile Option</td> 1446 * </tr> 1447 * <tr class="TableRow"> 1448 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1449 * <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td> 1450 * </tr> 1451 * </table> 1452 * </p> 1453 * @return The options of the command. 1454 */ 1455 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.3", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.3" ) 1456 @Override 1457 public org.apache.commons.cli.Options getOptions() 1458 { 1459 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1460 options.addOption( this.getClassFileProcessorOption() ); 1461 options.addOption( this.getClasspathOption() ); 1462 options.addOption( this.getCountryOption() ); 1463 options.addOption( this.getDefaultTemplateProfileOption() ); 1464 options.addOption( this.getDocumentsOption() ); 1465 options.addOption( this.getImplementationOption() ); 1466 options.addOption( this.getIndentationStringOption() ); 1467 options.addOption( this.getInputEncodingOption() ); 1468 options.addOption( this.getLanguageOption() ); 1469 options.addOption( this.getLineSeparatorOption() ); 1470 options.addOption( this.getLocaleVariantOption() ); 1471 options.addOption( this.getModelContextFactoryOption() ); 1472 options.addOption( this.getModelOption() ); 1473 options.addOption( this.getModletLocationOption() ); 1474 options.addOption( this.getModletSchemaSystemIdOption() ); 1475 options.addOption( this.getModuleLocationOption() ); 1476 options.addOption( this.getModuleNameOption() ); 1477 options.addOption( this.getNoClassProcessingOption() ); 1478 options.addOption( this.getNoClasspathResolutionOption() ); 1479 options.addOption( this.getNoModelProcessingOption() ); 1480 options.addOption( this.getNoModelResourceValidation() ); 1481 options.addOption( this.getNoModletResourceValidation() ); 1482 options.addOption( this.getOutputEncodingOption() ); 1483 options.addOption( this.getPlatformProviderLocationOption() ); 1484 options.addOption( this.getProviderLocationOption() ); 1485 options.addOption( this.getSpecificationOption() ); 1486 options.addOption( this.getTemplateEncodingOption() ); 1487 options.addOption( this.getTemplateLocationOption() ); 1488 options.addOption( this.getTemplateProfileOption() ); 1489 options.addOption( this.getTransformerLocationOption() ); 1490 return options; 1491 } 1492 // </editor-fold> 1493 // SECTION-END 1494 }